libpurple/protocols/jabber/jabber.c

changeset 29849
d7b910200dc5
parent 29848
999c0235bbc6
child 29853
c6ba9ac6a496
--- a/libpurple/protocols/jabber/jabber.c	Tue Mar 09 22:44:59 2010 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Tue Mar 09 23:09:54 2010 +0000
@@ -870,7 +870,8 @@
 	js->old_length = 0;
 	js->keepalive_timeout = 0;
 	/* Set the default protocol version to 1.0. Overridden in parser.c. */
-	js->protocol_version = JABBER_PROTO_1_0;
+	js->protocol_version.major = 1;
+	js->protocol_version.minor = 0;
 	js->sessions = NULL;
 	js->stun_ip = NULL;
 	js->stun_port = 0;

mercurial