# HG changeset patch # User Paul Aurich # Date 1297784998 0 # Node ID 5dccfd26108b2eb40cd9753988ff2cf1ada97d67 # Parent 0dade4c34d248803b48f7472b4bd35da84c64854# Parent f876cb251c7a31147982fc6909a1ee490e838c56 merge of '84e4c2078413eedc9eaea26df534ecca59425b69' and 'f23ff84c6d73ce743343a1f0547b7e0dba692407' diff -r 0dade4c34d24 -r 5dccfd26108b libpurple/protocols/jabber/bosh.c --- a/libpurple/protocols/jabber/bosh.c Tue Feb 15 01:49:11 2011 +0000 +++ b/libpurple/protocols/jabber/bosh.c Tue Feb 15 15:49:58 2011 +0000 @@ -484,7 +484,13 @@ /* Shouldn't happen; this should be the only place pipelining * is turned off. */ +#if GLIB_CHECK_VERSION(2,16,0) g_warn_if_reached(); +#else + g_log(G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, + "(%s:%d):%s%s code should not be reached", + __FILE__, __LINE__, G_STRFUNC, G_STRFUNC[0] ? ":" : ""); +#endif } }