Make more portable

This commit is contained in:
Neale Pickett 2011-01-07 14:05:21 -06:00
parent 1cec77a2cc
commit 3df34ce677
1 changed files with 2 additions and 1 deletions

3
irc.c
View File

@ -108,7 +108,8 @@ main(int argc, char *argv[])
sender = parts[1]; sender = parts[1];
forum = sender; forum = sender;
} else if (0 == strcmp(cmd, "PING")) { } else if (0 == strcmp(cmd, "PING")) {
dprintf(1, "PONG :%s\r\n", text); printf("PONG :%s\r\n", text);
fflush(stdout);
} }
{ {