Mercurial > pidgin
comparison libpurple/protocols/jabber/bosh.c @ 31589:dec74c97c598
jabber/bosh: We require glib 2.16 now, this was added in 2.16
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 11 May 2011 02:42:52 +0000 |
parents | f876cb251c7a |
children | b1a6535f99d9 |
comparison
equal
deleted
inserted
replaced
31588:06ed9020b784 | 31589:dec74c97c598 |
---|---|
482 http_connection_connect(bosh->connections[1]); | 482 http_connection_connect(bosh->connections[1]); |
483 } else { | 483 } else { |
484 /* Shouldn't happen; this should be the only place pipelining | 484 /* Shouldn't happen; this should be the only place pipelining |
485 * is turned off. | 485 * is turned off. |
486 */ | 486 */ |
487 #if GLIB_CHECK_VERSION(2,16,0) | |
488 g_warn_if_reached(); | 487 g_warn_if_reached(); |
489 #else | |
490 g_log(G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, | |
491 "(%s:%d):%s%s code should not be reached", | |
492 __FILE__, __LINE__, G_STRFUNC, G_STRFUNC[0] ? ":" : ""); | |
493 #endif | |
494 } | 488 } |
495 } | 489 } |
496 | 490 |
497 static void jabber_bosh_connection_received(PurpleBOSHConnection *conn, xmlnode *node) { | 491 static void jabber_bosh_connection_received(PurpleBOSHConnection *conn, xmlnode *node) { |
498 xmlnode *child; | 492 xmlnode *child; |