diff libpurple/protocols/jabber/parser.c @ 28696:8ada06fb65ed

jabber: Factor the SASL auth methods into their own files. This works with and without Cyrus SASL, though there's room for cleanup and de-duplication (some code is now duplicated between auth.c and auth_cyrus.c).
author Paul Aurich <paul@darkrain42.org>
date Sat, 07 Nov 2009 06:10:17 +0000
parents c7aaad89a2f8
children eb4081c68c57
line wrap: on
line diff
--- a/libpurple/protocols/jabber/parser.c	Sat Nov 07 04:41:04 2009 +0000
+++ b/libpurple/protocols/jabber/parser.c	Sat Nov 07 06:10:17 2009 +0000
@@ -260,8 +260,8 @@
 		 * the opening <stream:stream> and there was no version, we need to
 		 * immediately start legacy IQ auth.
 		 */
-		js->auth_type = JABBER_AUTH_IQ_AUTH;
 		jabber_stream_set_state(js, JABBER_STREAM_AUTHENTICATING);
+		jabber_auth_start_old(js);
 	}
 }