From: Adam F. <mi...@us...> - 2002-01-01 09:49:07
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv21166 Modified Files: buddy.c core.h server.c Log Message: who the hell cares. Index: buddy.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/buddy.c,v retrieving revision 1.283 retrieving revision 1.284 diff -u -d -r1.283 -r1.284 --- buddy.c 2001/12/21 10:23:04 1.283 +++ buddy.c 2002/01/01 09:49:04 1.284 @@ -1894,12 +1894,12 @@ return 0; } -static char *caps_string(gushort caps) +static char *caps_string(guint caps) { static char buf[256], *tmp; int count = 0, i = 0; - gushort bit = 1; - while (bit <= 0x800) { + guint bit = 1; + while (bit <= 0x10000) { if (bit & caps) { switch (bit) { case 0x1: @@ -1927,11 +1927,29 @@ case 0x80: tmp = _("Stocks"); break; + case 0x100: + tmp = _("Send Buddy List"); + break; case 0x400: tmp = _("EveryBuddy Bug"); break; case 0x800: tmp = _("AP User"); + break; + case 0x1000: + tmp = _("ICQ RTF"); + break; + case 0x2000: + tmp = _("Nihilist"); + break; + case 0x4000: + tmp = _("ICQ Server Relay"); + break; + case 0x8000: + tmp = _("ICQ Unknown"); + break; + case 0x10000: + tmp = _("Trillian Encryption"); break; default: tmp = NULL; Index: core.h =================================================================== RCS file: /cvsroot/gaim/gaim/src/core.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- core.h 2001/12/08 09:48:51 1.14 +++ core.h 2002/01/01 09:49:04 1.15 @@ -118,7 +118,7 @@ time_t signon; time_t idle; int uc; - gushort caps; /* woohoo! */ + guint caps; /* woohoo! */ void *proto_data; /* what a hack */ struct gaim_connection *gc; /* the connection it belongs to */ }; @@ -190,7 +190,7 @@ extern char *event_name(enum gaim_event); /* Functions in server.c */ -extern void serv_got_update(struct gaim_connection *, char *, int, int, time_t, time_t, int, gushort); +extern void serv_got_update(struct gaim_connection *, char *, int, int, time_t, time_t, int, guint); extern void serv_got_im(struct gaim_connection *, char *, char *, guint32, time_t, gint); extern void serv_got_eviled(struct gaim_connection *, char *, int); extern void serv_got_chat_invite(struct gaim_connection *, char *, char *, char *, GList *); Index: server.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/server.c,v retrieving revision 1.215 retrieving revision 1.216 diff -u -d -r1.215 -r1.216 --- server.c 2001/12/21 10:23:04 1.215 +++ server.c 2002/01/01 09:49:04 1.216 @@ -650,7 +650,7 @@ void serv_got_update(struct gaim_connection *gc, char *name, int loggedin, int evil, time_t signon, - time_t idle, int type, gushort caps) + time_t idle, int type, guint caps) { struct buddy *b = find_buddy(gc, name); |