changeset 27786:0f79a7b6e856

jabber: Since we use max_inactivity - 5, treat a 5s timeout as bogus, too.
author Paul Aurich <paul@darkrain42.org>
date Sat, 01 Aug 2009 04:00:37 +0000
parents 14e5eadff540
children 53f0956f76dc
files libpurple/protocols/jabber/bosh.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/bosh.c	Sat Aug 01 03:57:14 2009 +0000
+++ b/libpurple/protocols/jabber/bosh.c	Sat Aug 01 04:00:37 2009 +0000
@@ -494,7 +494,7 @@
 
 	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;