summaryrefslogtreecommitdiff
path: root/src/lib/logs.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-07-07 09:50:30 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-07-07 09:50:30 +0200
commit80441117cf61137c6a8c97e0779e70d76ae8541d (patch)
tree01691cd4b34c9a5292f375dd1d12e80335dfeaf8 /src/lib/logs.c
parentb61b1ce112261f812ff1d6093b89768eeca237b5 (diff)
parent442c2b866e55545a0e21eaaf36b11621c8110411 (diff)
downloadouroboros-80441117cf61137c6a8c97e0779e70d76ae8541d.tar.gz
ouroboros-80441117cf61137c6a8c97e0779e70d76ae8541d.zip
Merged in dstaesse/ouroboros/be-irmd-fix-create (pull request #164)
lib:irmd: Fix logs and irm_create
Diffstat (limited to 'src/lib/logs.c')
-rw-r--r--src/lib/logs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/logs.c b/src/lib/logs.c
index d86073e4..eed1ee10 100644
--- a/src/lib/logs.c
+++ b/src/lib/logs.c
@@ -34,3 +34,9 @@ int set_logfile(char * filename)
return 0;
}
+
+void close_logfile()
+{
+ if (logfile != NULL)
+ fclose(logfile);
+}