pidgin: 18414cb7: jabber: This is more correct[er]
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Tue Mar 9 20:06:17 EST 2010
-----------------------------------------------------------------
Revision: 18414cb741f06614ba4161a194c333489c93a758
Ancestor: f7f329117cfc3862d995cfe6dd21f3bd3b4f2d60
Author: darkrain42 at pidgin.im
Date: 2010-03-09T23:13:42
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/18414cb741f06614ba4161a194c333489c93a758
Modified files:
libpurple/protocols/jabber/parser.c
ChangeLog:
jabber: This is more correct[er]
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/parser.c 3f2b2a4807f38aa799026e2a410929d8fcfd2f9a
+++ libpurple/protocols/jabber/parser.c 83aa7420a105a76ba89f68aa4a8f065be43fd9a8
@@ -59,7 +59,7 @@ jabber_parser_element_start_libxml(void
/* TODO: Check this against the spec; I'm not sure if the check
* against minor is accurate.
*/
- if (js->protocol_version.major > 1 || js->protocol_version.minor > 0)
+ if (js->protocol_version.major > 1 || (js->protocol_version == 1 && js->protocol_version.minor > 0))
purple_connection_error_reason(js->gc,
PURPLE_CONNECTION_ERROR_AUTHENTICATION_IMPOSSIBLE,
_("XMPP Version Mismatch"));
More information about the Commits
mailing list