projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0957326
)
Fix minor typo
author
Mark Spencer
<markster@digium.com>
Fri, 5 Dec 2003 02:00:01 +0000
(
02:00
+0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 5 Dec 2003 02:00:01 +0000
(
02:00
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1829
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
logger.c
patch
|
blob
|
history
diff --git
a/logger.c
b/logger.c
index
a0f5dac
..
91c2743
100755
(executable)
--- a/
logger.c
+++ b/
logger.c
@@
-231,7
+231,7
@@
int reload_logger(int rotate)
for(x=0;;x++) {
snprintf(new, sizeof(new), "%s/%s.%d", (char *)ast_config_AST_LOG_DIR,f->fn,x);
myf = fopen((char *)new, "r");
for(x=0;;x++) {
snprintf(new, sizeof(new), "%s/%s.%d", (char *)ast_config_AST_LOG_DIR,f->fn,x);
myf = fopen((char *)new, "r");
- if(f)
+ if(myf)
fclose(myf);
else
break;
fclose(myf);
else
break;