info: ipc_action: minor fix
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 13:12:33 +0000 (14:12 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 19:54:18 +0000 (20:54 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c

index 8af509e..89aab41 100644 (file)
@@ -357,7 +357,7 @@ static void ipc_action(int fd, void *data __attribute__ ((unused)), unsigned int
     }
 
     if (0 < s) {
-      requ[s] = 0;
+      requ[s] = '\0';
       send_what = determine_action(requ);
     }