fix s_log.

This commit is contained in:
William Pitcock 2008-04-01 20:31:26 -05:00
parent c75fdbfb29
commit 6aae811eb3

View file

@ -118,7 +118,7 @@ ilog(ilogfile dest, const char *format, ...)
return;
va_start(args, format);
ircvsnprintf(buf, sizeof(buf), format, args);
rb_vsnprintf(buf, sizeof(buf), format, args);
va_end(args);
rb_snprintf(buf2, sizeof(buf2), "%s %s\n", smalldate(), buf);