projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
552a1d2
)
Don't over-write log_fp if fp is NULL
author
aland
<aland>
Fri, 7 Mar 2008 11:12:09 +0000
(11:12 +0000)
committer
aland
<aland>
Fri, 7 Mar 2008 11:12:09 +0000
(11:12 +0000)
src/main/log.c
patch
|
blob
|
history
diff --git
a/src/main/log.c
b/src/main/log.c
index
a57655d
..
6e4e3c9
100644
(file)
--- a/
src/main/log.c
+++ b/
src/main/log.c
@@
-167,7
+167,7
@@
int vradlog(int lvl, const char *fmt, va_list ap)
* we have no child threads. If we do have child
* threads, each thread has to open it's own FP.
*/
- if (can_update_log_fp) fr_log_fp = log_fp = fp;
+ if (can_update_log_fp
&& fp
) fr_log_fp = log_fp = fp;
}
if (print_timestamp) {