Fix minor typo
authorMark Spencer <markster@digium.com>
Fri, 5 Dec 2003 02:00:01 +0000 (02:00 +0000)
committerMark 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

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");
-                     if(f) 
+                     if(myf) 
                                        fclose(myf);
                      else
                                        break;