From 051c74b9870cffb4ba7249e728388c7ec50b6c5a Mon Sep 17 00:00:00 2001
From: Jan-Niklas Burfeind <git@aiyionpri.me>
Date: Tue, 3 Jan 2023 16:09:33 +0100
Subject: [PATCH] gluon-respondd: fix c indentation

---
 package/gluon-respondd/src/respondd-neighbours.c | 4 ++--
 package/gluon-respondd/src/respondd-statistics.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/gluon-respondd/src/respondd-neighbours.c b/package/gluon-respondd/src/respondd-neighbours.c
index 6420d2191..bc60b1f4b 100644
--- a/package/gluon-respondd/src/respondd-neighbours.c
+++ b/package/gluon-respondd/src/respondd-neighbours.c
@@ -56,8 +56,8 @@ static struct json_object * get_wifi_neighbours(const char *ifname) {
 
 		char mac[18];
 		snprintf(mac, sizeof(mac), "%02x:%02x:%02x:%02x:%02x:%02x",
-			 entry->mac[0], entry->mac[1], entry->mac[2],
-			 entry->mac[3], entry->mac[4], entry->mac[5]);
+				entry->mac[0], entry->mac[1], entry->mac[2],
+				entry->mac[3], entry->mac[4], entry->mac[5]);
 
 		json_object_object_add(neighbours, mac, obj);
 	}
diff --git a/package/gluon-respondd/src/respondd-statistics.c b/package/gluon-respondd/src/respondd-statistics.c
index 5f9e15bfd..af6bc2dcc 100644
--- a/package/gluon-respondd/src/respondd-statistics.c
+++ b/package/gluon-respondd/src/respondd-statistics.c
@@ -134,7 +134,7 @@ static struct json_object * get_stat(void) {
 		if (!strcmp(label, "cpu")) {
 			int64_t user, nice, system, idle, iowait, irq, softirq;
 			if (sscanf(line, "%*s %"SCNd64" %"SCNd64" %"SCNd64" %"SCNd64" %"SCNd64" %"SCNd64" %"SCNd64,
-			          &user, &nice, &system, &idle, &iowait, &irq, &softirq) != 7)
+						&user, &nice, &system, &idle, &iowait, &irq, &softirq) != 7)
 				goto invalid_stat_format;
 
 			struct json_object *cpu = json_object_new_object();
@@ -275,7 +275,7 @@ static void count_stations(size_t *wifi24, size_t *wifi5, size_t *owe24, size_t
 		count_iface_stations(wifi24, wifi5, ifname);
 	}
 
- end:
+end:
 	uci_free_context(ctx);
 }
 
-- 
GitLab