# HG changeset patch # User Paul Aurich # Date 1249099237 0 # Node ID 0f79a7b6e856cc7f0e53091c97052b30bc233a9d # Parent 14e5eadff540ab7030ede85187be346318929ae3 jabber: Since we use max_inactivity - 5, treat a 5s timeout as bogus, too. diff -r 14e5eadff540 -r 0f79a7b6e856 libpurple/protocols/jabber/bosh.c --- 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;