diff options
Diffstat (limited to 'src/common/log.c')
-rw-r--r-- | src/common/log.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/log.c b/src/common/log.c index 3a60d0576d..397d27aaf1 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -150,6 +150,10 @@ void add_stream_log(int loglevel, const char *name, FILE *stream) logfiles = lf; } +/* + * If opening the logfile fails, -1 is returned and + * errno is set appropriately (by fopen) + */ int add_file_log(int loglevel, const char *filename) { FILE *f; |