pidgin: 6e97c2f1: jabber: Since we use max_inactivity - 5,...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Aug 2 01:40:59 EDT 2009


-----------------------------------------------------------------
Revision: 6e97c2f18b663032c678f13ae4b23f99a6297f35
Ancestor: 73f37b6482db80a25c2b4ddcce7b56696b2af9b4
Author: darkrain42 at pidgin.im
Date: 2009-08-01T04:00:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6e97c2f18b663032c678f13ae4b23f99a6297f35

Modified files:
        libpurple/protocols/jabber/bosh.c

ChangeLog: 

jabber: Since we use max_inactivity - 5, treat a 5s timeout as bogus, too.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/bosh.c	324f248bda6cff1377d433d24d999f2b8c0771d8
+++ libpurple/protocols/jabber/bosh.c	c88e0a468c1106ea63961f5767928ed306654316
@@ -494,7 +494,7 @@ static void boot_response_cb(PurpleBOSHC
 
 	if (inactivity) {
 		conn->max_inactivity = atoi(inactivity);
-		if (conn->max_inactivity <= 2) {
+		if (conn->max_inactivity <= 5) {
 			purple_debug_warning("jabber", "Ignoring bogusly small inactivity: %s\n",
 			                     inactivity);
 			conn->max_inactivity = 0;


More information about the Commits mailing list