Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/presence.c @ 22475: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 | 6f4ffdc65230 |
children | 17cda378a2dd 2404b13940e9 e4a4bc86c547 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c Sun Mar 16 20:35:23 2008 +0000 +++ b/libpurple/protocols/jabber/presence.c Sun Mar 16 20:36:52 2008 +0000 @@ -683,7 +683,7 @@ jid->node ? "@" : "", jid->domain); if((b = purple_find_buddy(js->gc->account, buddy_name)) == NULL) { if(!jid->node || strcmp(jid->node,js->user->node) || strcmp(jid->domain,js->user->domain)) { - purple_debug_warning("jabber", "Got presence for unknown buddy %s on account %s (%x)\n", + purple_debug_warning("jabber", "Got presence for unknown buddy %s on account %s (%p)\n", buddy_name, purple_account_get_username(js->gc->account), js->gc->account); jabber_id_free(jid); g_free(avatar_hash);