changeset 4827:a4d3243499bb

[gaim-migrate @ 5152] faceprint is the Gaim code-reviewer and hacker guy extraordinairieiai. I mean, what am I, wind? In other news, Get Capabilities seems to be working again. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 18 Mar 2003 23:07:53 +0000
parents e6654fab588b
children 71232144e2ff
files src/protocols/oscar/aim_cbtypes.h src/protocols/oscar/info.c src/protocols/oscar/oscar.c
diffstat 3 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/aim_cbtypes.h	Tue Mar 18 22:30:21 2003 +0000
+++ b/src/protocols/oscar/aim_cbtypes.h	Tue Mar 18 23:07:53 2003 +0000
@@ -292,7 +292,7 @@
 #define AIM_CB_OFT_GETFILE_REQUESTLISTING 0x1108 /* request a listing.txt file from the remote user */
 #define AIM_CB_OFT_GETFILE_SENDLISTING 0x1208	/* we're going to send a listing.txt file */
 #define AIM_CB_OFT_GETFILE_RECEIVELISTING 0x1209 /* the other dude sent us a listing.txt file */
-#define AIM_CB_OFT_GETFILE_RECEIVEDLISTING 0x120a /* we received a listing.txt file, thanks */ /* I'm just guessting about this one... */
+#define AIM_CB_OFT_GETFILE_RECEIVEDLISTING 0x120a /* we received a listing.txt file, thanks */ /* I'm just guessing about this one... */
 #define AIM_CB_OFT_GETFILE_ACKLISTING 0x120b	/* other user received the listing.txt file, yay */
 #define AIM_CB_OFT_GETFILE_REQUESTFILE 0x120c	/* request a specific file from the remote user */
 
--- a/src/protocols/oscar/info.c	Tue Mar 18 22:30:21 2003 +0000
+++ b/src/protocols/oscar/info.c	Tue Mar 18 23:07:53 2003 +0000
@@ -635,13 +635,6 @@
 			 */
 			int type, subtype, len;
 			char *iconstr;
-/*
-int i;
-debug_printf("iconstr: 0x");
-for (i=0; i<length; i++)
-	debug_printf("%02hhx ", bs->data[bs->offset+i]);
-debug_printf("\n");
-*/
 			while (aim_bstream_curpos(bs) < endpos) {
 				type = aimbs_get16(bs);
 				subtype = aimbs_get8(bs);
--- a/src/protocols/oscar/oscar.c	Tue Mar 18 22:30:21 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Mar 18 23:07:53 2003 +0000
@@ -4224,12 +4224,10 @@
 		aim_getinfo(od->sess, od->conn, who, AIM_GETINFO_GENERALINFO);
 }
 
-#if 0
 static void oscar_get_caps(struct gaim_connection *g, char *name) {
 	struct oscar_data *od = (struct oscar_data *)g->proto_data;
 	aim_getinfo(od->sess, od->conn, name, AIM_GETINFO_CAPABILITIES);
 }
-#endif
 
 static void oscar_set_dir(struct gaim_connection *g, const char *first, const char *middle, const char *last,
 			  const char *maiden, const char *city, const char *state, const char *country, int web) {
@@ -5515,13 +5513,11 @@
 		}
 	}
 
-#if 0
 	pbm = g_new0(struct proto_buddy_menu, 1);
 	pbm->label = _("Get Capabilities");
 	pbm->callback = oscar_get_caps;
 	pbm->gc = gc;
 	m = g_list_append(m, pbm);
-#endif
 
 	return m;
 }