Mercurial > pidgin
diff src/protocols/irc/irc.c @ 3867:43e396e94095
[gaim-migrate @ 4019]
compile cleanups by nathan
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Sun, 03 Nov 2002 07:36:09 +0000 |
| parents | ed3e19143373 |
| children | 9ced82507a79 |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Sun Nov 03 07:32:07 2002 +0000 +++ b/src/protocols/irc/irc.c Sun Nov 03 07:36:09 2002 +0000 @@ -36,6 +36,7 @@ #include <string.h> #include <stdlib.h> #include <stdio.h> +#include <sys/time.h> #include <time.h> #include <sys/stat.h> #include <ctype.h> @@ -1571,6 +1572,7 @@ } r = r->next; } + return TRUE; } static void @@ -2519,7 +2521,7 @@ { char buf[IRC_BUF_LEN]; - g_snprintf (buf, sizeof(buf), "\001PING %ul\001", time(NULL)); + g_snprintf (buf, sizeof(buf), "\001PING %ld\001", time(NULL)); irc_send_privmsg(gc, who, buf, FALSE); }
