Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.h @ 30003:6e598ca344b3
jabber: Clear the stream header when restarting a stream, and be
much stricter about the first tag in a stream.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 12 Mar 2010 06:25:15 +0000 |
parents | 618c4165d4f8 |
children | 3ac7f10d13d4 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h Fri Mar 12 06:16:43 2010 +0000 +++ b/libpurple/protocols/jabber/jabber.h Fri Mar 12 06:25:15 2010 +0000 @@ -112,6 +112,13 @@ JabberSaslMech *auth_mech; gpointer auth_mech_data; + + /** + * The header from the opening <stream/> tag. This being NULL is treated + * as a special condition in the parsing code (signifying the next + * stanza started is an opening stream tag), and its being missing on + * the stream header is treated as a fatal error. + */ char *stream_id; JabberStreamState state;