changing output format
This commit is contained in:
parent
503fe49ef6
commit
72a49d1ed3
2
sic.c
2
sic.c
@ -52,7 +52,7 @@ pout(char *channel, char *msg)
|
|||||||
time_t t = time(0);
|
time_t t = time(0);
|
||||||
|
|
||||||
strftime(timestr, sizeof(timestr), "%a %R", localtime(&t));
|
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
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user