summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-07-06 22:09:15 +0200
committerdimitri staessens <[email protected]>2016-07-06 22:13:35 +0200
commit6f8024ef27933d0123aee3d02002ca3600270e72 (patch)
treefe89505651f156707374cb4b11e2258b19ac8eae /include
parentf797b763dd9fa95d5294f60232babb017b2b495f (diff)
downloadouroboros-6f8024ef27933d0123aee3d02002ca3600270e72.tar.gz
ouroboros-6f8024ef27933d0123aee3d02002ca3600270e72.zip
lib:irmd: Fix logs and irm_create
The irm_create() function called irmd_destroy before some key values were initialized. Logs cleanup was missing.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/logs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ouroboros/logs.h b/include/ouroboros/logs.h
index 0ffc5699..db3f8519 100644
--- a/include/ouroboros/logs.h
+++ b/include/ouroboros/logs.h
@@ -30,7 +30,8 @@
#error You must define OUROBOROS_PREFIX before including this file
#endif
-int set_logfile(char * filename);
+int set_logfile(char * filename);
+void close_logfile();
#define ANSI_COLOR_RED "\x1b[31m"
#define ANSI_COLOR_GREEN "\x1b[32m"