pidgin/pidgin

Fix conditional.
release-2.x.y
2014-01-13, Mark Doliner
c03eefbf89a8
Parents 6bafdcde2b55
Children 3214e5d99b41
Fix conditional.

I think this would have incorrectly found a Connection: header in the
XML body. No idea what the harm is.
--- a/libpurple/protocols/jabber/bosh.c Sun Jan 12 23:29:51 2014 -0800
+++ b/libpurple/protocols/jabber/bosh.c Mon Jan 13 18:09:59 2014 -0800
@@ -783,7 +783,7 @@
conn->body_len = len;
}
- if (connection && (!end_of_headers || content_length < end_of_headers)) {
+ if (connection && (!end_of_headers || connection < end_of_headers)) {
const char *tmp;
if (strstr(connection, "\r\n") == NULL)
return;