comparison libpurple/protocols/oscar/family_userlookup.c @ 22486:3225c99785b8

Fix a bunch of compiler warnings caused by my addition of G_GNUC_PRINTF() to our debug functions (I really thought we had added that in a while ago?) I didn't fix all of them... just most of them. Oh, see these pages for a little info: http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Macros.html#G-GNUC-PRINTF:CAPS
author Mark Doliner <mark@kingant.net>
date Sun, 16 Mar 2008 20:36:52 +0000
parents 44b4e8bd759b
children 979a81468e19
comparison
equal deleted inserted replaced
22485:9511acb88e58 22486:3225c99785b8
38 aim_rxcallback_t userfunc; 38 aim_rxcallback_t userfunc;
39 aim_snac_t *snac2; 39 aim_snac_t *snac2;
40 40
41 /* XXX the modules interface should have already retrieved this for us */ 41 /* XXX the modules interface should have already retrieved this for us */
42 if (!(snac2 = aim_remsnac(od, snac->id))) { 42 if (!(snac2 = aim_remsnac(od, snac->id))) {
43 purple_debug_misc("oscar", "search error: couldn't get a snac for 0x%08lx\n", snac->id); 43 purple_debug_misc("oscar", "search error: couldn't get a snac for 0x%08x\n", snac->id);
44 return 0; 44 return 0;
45 } 45 }
46 46
47 if ((userfunc = aim_callhandler(od, snac->family, snac->subtype))) 47 if ((userfunc = aim_callhandler(od, snac->family, snac->subtype)))
48 ret = userfunc(od, conn, frame, snac2->data /* address */); 48 ret = userfunc(od, conn, frame, snac2->data /* address */);