Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.h @ 29961:618c4165d4f8
jabber: Treat the version properly.
Granted, consensus among XMPP folks is that bumping the minor would break
almost everything, but that's no reason not to be accurate ourselves.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 09 Mar 2010 23:09:54 +0000 |
parents | d93676b59db1 |
children | 6e598ca344b3 f01d73b4452e |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h Tue Mar 09 22:44:59 2010 +0000 +++ b/libpurple/protocols/jabber/jabber.h Tue Mar 09 23:09:54 2010 +0000 @@ -105,9 +105,9 @@ xmlParserCtxt *context; xmlnode *current; - enum { - JABBER_PROTO_0_9, - JABBER_PROTO_1_0 + struct { + guint8 major; + guint8 minor; } protocol_version; JabberSaslMech *auth_mech;