/[imapfilter]/imapfilter/log.c
ViewVC logotype

Diff of /imapfilter/log.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by lefcha, Sat Jul 13 21:19:23 2002 UTC revision 1.26.2.2 by lefcha, Sun Feb 2 17:42:37 2003 UTC
# Line 64  void error(const char *errmsg,...) Line 64  void error(const char *errmsg,...)
64    
65      vfprintf(stderr, errmsg, args);      vfprintf(stderr, errmsg, args);
66    
67      if (logfp) {      if ((options & OPTION_ERRORS) && logfp) {
68          vfprintf(logfp, errmsg, args);          vfprintf(logfp, errmsg, args);
69      }      }
70      va_end(args);      va_end(args);
# Line 194  void log_info(int flag, void *ptr) Line 194  void log_info(int flag, void *ptr)
194                      fprintf(logfp, "%c", *(inf.hdrs++));                      fprintf(logfp, "%c", *(inf.hdrs++));
195              }              }
196          }          }
197            fflush(logfp);
198          break;          break;
199      case LOG_SERVER:      case LOG_SERVER:
200          inf.server = (char *)ptr;          inf.server = (char *)ptr;

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.26.2.2

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26