/[LeafOK_CVS]/lbbs/src/log.c
ViewVC logotype

Diff of /lbbs/src/log.c

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

Revision 1.6 by sysadm, Fri Oct 22 15:20:32 2004 UTC Revision 1.7 by sysadm, Sat Oct 23 18:41:41 2004 UTC
# Line 74  log_std(const char * format, ...) Line 74  log_std(const char * format, ...)
74    strcat(buf, format);    strcat(buf, format);
75    
76    va_start (args, format);    va_start (args, format);
77    retval = vfprintf (fp_log_std, format, args);    retval = vfprintf (fp_log_std, buf, args);
78    va_end (args);    va_end (args);
79    
80    fflush(fp_log_std);    fflush(fp_log_std);
# Line 93  log_error (const char * format, ...) Line 93  log_error (const char * format, ...)
93    strcat(buf, format);    strcat(buf, format);
94    
95    va_start (args, format);    va_start (args, format);
96    retval = vfprintf (fp_log_err, format, args);    retval = vfprintf (fp_log_err, buf, args);
97    va_end (args);    va_end (args);
98    
99    fflush(fp_log_err);    fflush(fp_log_err);


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1