diff options
author | Sander Vrijders <[email protected]> | 2016-07-07 09:50:30 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-07-07 09:50:30 +0200 |
commit | 80441117cf61137c6a8c97e0779e70d76ae8541d (patch) | |
tree | 01691cd4b34c9a5292f375dd1d12e80335dfeaf8 /src/lib/logs.c | |
parent | b61b1ce112261f812ff1d6093b89768eeca237b5 (diff) | |
parent | 442c2b866e55545a0e21eaaf36b11621c8110411 (diff) | |
download | ouroboros-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.c | 6 |
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); +} |