[Olsr-dev] [PATCH v1 089/115] info: ipc_action: minor fix
Ferry Huberts
(spam-protected)
Wed Dec 2 21:29:02 CET 2015
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
lib/info/olsrd_info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/info/olsrd_info.c b/lib/info/olsrd_info.c
index 8af509e..89aab41 100644
--- a/lib/info/olsrd_info.c
+++ b/lib/info/olsrd_info.c
@@ -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);
}
--
2.5.0
More information about the Olsr-dev
mailing list