changing output format

This commit is contained in:
arg@10ksloc.org 2006-07-20 09:52:30 +02:00
parent 503fe49ef6
commit 72a49d1ed3

2
sic.c
View File

@ -52,7 +52,7 @@ pout(char *channel, char *msg)
time_t t = time(0);
strftime(timestr, sizeof(timestr), "%a %R", localtime(&t));
fprintf(stdout, "%s: %s %s\n", channel, timestr, msg);
fprintf(stdout, "%s %s: %s\n", timestr, channel, msg);
}
static void