Mercurial > pidgin
comparison libpurple/protocols/oscar/flap_connection.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 | 6419554aadd9 |
children | 979a81468e19 |
comparison
equal
deleted
inserted
replaced
22485:9511acb88e58 | 22486:3225c99785b8 |
---|---|
751 guint32 flap_version = byte_stream_get32(&frame->data); | 751 guint32 flap_version = byte_stream_get32(&frame->data); |
752 if (flap_version != 0x00000001) | 752 if (flap_version != 0x00000001) |
753 { | 753 { |
754 /* Error! */ | 754 /* Error! */ |
755 purple_debug_warning("oscar", "Expecting FLAP version " | 755 purple_debug_warning("oscar", "Expecting FLAP version " |
756 "0x00000001 but received FLAP version %08lx. Closing connection.\n", | 756 "0x00000001 but received FLAP version %08x. Closing connection.\n", |
757 flap_version); | 757 flap_version); |
758 flap_connection_schedule_destroy(conn, | 758 flap_connection_schedule_destroy(conn, |
759 OSCAR_DISCONNECT_INVALID_DATA, NULL); | 759 OSCAR_DISCONNECT_INVALID_DATA, NULL); |
760 } | 760 } |
761 else | 761 else |