Mercurial > pidgin.yaz
diff src/toc.c @ 1114:c61f9c384413
[gaim-migrate @ 1124]
update to STATUS, pass -Wall, and fix some applet stupidity for failed signons.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 21 Nov 2000 01:00:45 +0000 |
parents | 4efa1ca61a2a |
children | e1078ee286ba |
line wrap: on
line diff
--- a/src/toc.c Tue Nov 21 00:16:44 2000 +0000 +++ b/src/toc.c Tue Nov 21 01:00:45 2000 +0000 @@ -47,7 +47,7 @@ #include "pixmaps/dt_icon.xpm" #include "pixmaps/free_icon.xpm" -#define REVISION "gaim:$Revision: 1123 $" +#define REVISION "gaim:$Revision: 1124 $" #define TYPE_SIGNON 1 #define TYPE_DATA 2 @@ -99,6 +99,7 @@ static void toc_callback(gpointer, gint, GdkInputCondition); static unsigned char *roast_password(char *); +int sflap_send(struct gaim_connection *, char *, int, int); /* ok. this function used to take username/password, and return 0 on success. * now, it takes username/password, and returns NULL on error or a new gaim_connection @@ -386,7 +387,7 @@ c = strtok(NULL, ":"); /* name */ l = strtok(NULL, ":"); /* online */ sscanf(strtok(NULL, ":"), "%d", &evil); - sscanf(strtok(NULL, ":"), "%d", &signon); + sscanf(strtok(NULL, ":"), "%ld", &signon); sscanf(strtok(NULL, ":"), "%d", &idle); uc = strtok(NULL, ":");