projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4876301
)
-fix
author
Christian Grothoff
<christian@grothoff.org>
Sat, 23 Jun 2012 18:50:13 +0000
(18:50 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 23 Jun 2012 18:50:13 +0000
(18:50 +0000)
src/util/common_logging.c
patch
|
blob
|
history
diff --git
a/src/util/common_logging.c
b/src/util/common_logging.c
index 08aca02efac0bdec19cbf28a495b96c11e0ca7db..ff11c777733d57046894f35142040ddffd58729d 100644
(file)
--- a/
src/util/common_logging.c
+++ b/
src/util/common_logging.c
@@
-337,6
+337,8
@@
setup_log_file (const struct tm *tm)
int dup_return;
FILE *altlog;
+ if (NULL == log_file_name)
+ return GNUNET_SYSERR;
if (0 == strftime (fn, sizeof (fn), log_file_name, tm))
return GNUNET_SYSERR;
if (0 == strcmp (fn, last_fn))