[Olsr-dev] [PATCH v1 40/43] main: close the log in olsr_shutdown
Ferry Huberts
(spam-protected)
Wed Nov 11 17:22:13 CET 2015
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
src/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main.c b/src/main.c
index d4b4a4f..7ced68a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -664,6 +664,9 @@ static void olsr_shutdown(int signo __attribute__ ((unused)))
exit_value = olsr_cnf->exit_value;
olsrd_free_cnf(olsr_cnf);
+ /* close the log */
+ olsr_closelog();
+
#ifndef _WIN32
errno = errNr;
#endif
--
2.5.0
More information about the Olsr-dev
mailing list