[Olsr-dev] [PATCH v1 013/115] jsoninfo: fix some indents

Ferry Huberts (spam-protected)
Wed Dec 2 21:27:46 CET 2015


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/jsoninfo/src/olsrd_jsoninfo.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/jsoninfo/src/olsrd_jsoninfo.c b/lib/jsoninfo/src/olsrd_jsoninfo.c
index 6064674..d4b3878 100644
--- a/lib/jsoninfo/src/olsrd_jsoninfo.c
+++ b/lib/jsoninfo/src/olsrd_jsoninfo.c
@@ -343,11 +343,11 @@ static void ipc_action(int fd, void *data __attribute__ ((unused)), unsigned int
 #ifdef INFO_ALLOW_LOCALHOST
       if (ntohl(pin.in4.sin_addr.s_addr) != INADDR_LOOPBACK) {
 #endif /* INFO_ALLOW_LOCALHOST */
-      olsr_printf(1, "("PLUGIN_NAME") From host(%s) not allowed!\n", addr);
-      close(ipc_connection);
-      return;
+        olsr_printf(1, "("PLUGIN_NAME") From host(%s) not allowed!\n", addr);
+        close(ipc_connection);
+        return;
 #ifdef INFO_ALLOW_LOCALHOST
-    }
+      }
 #endif /* INFO_ALLOW_LOCALHOST */
     }
   } else {
-- 
2.5.0




More information about the Olsr-dev mailing list