--- lbbs/src/log.c 2004/10/22 15:20:32 1.6 +++ lbbs/src/log.c 2004/10/23 18:41:41 1.7 @@ -74,7 +74,7 @@ log_std(const char * format, ...) strcat(buf, format); va_start (args, format); - retval = vfprintf (fp_log_std, format, args); + retval = vfprintf (fp_log_std, buf, args); va_end (args); fflush(fp_log_std); @@ -93,7 +93,7 @@ log_error (const char * format, ...) strcat(buf, format); va_start (args, format); - retval = vfprintf (fp_log_err, format, args); + retval = vfprintf (fp_log_err, buf, args); va_end (args); fflush(fp_log_err);