diff libpurple/protocols/jabber/jabber.h @ 28901:13e668ef158d

jabber: did someone say something about the end of the struct? Not sure what the original thinking was there (other than to have JabberStream be part of the public API?), but this is no longer accurate.
author Paul Aurich <paul@darkrain42.org>
date Sat, 07 Nov 2009 04:41:04 +0000
parents 96ba7fd24177
children 738cd1adb3cf 8ada06fb65ed 0712ce23901e
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h	Sat Nov 07 03:45:13 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.h	Sat Nov 07 04:41:04 2009 +0000
@@ -193,25 +193,16 @@
 
 	char *serverFQDN;
 
-	/* OK, this stays at the end of the struct, so plugins can depend
-	 * on the rest of the stuff being in the right place
-	 */
 #ifdef HAVE_CYRUS_SASL
 	sasl_conn_t *sasl;
 	sasl_callback_t *sasl_cb;
-#else /* keep the struct the same size */
-	void *sasl;
-	void *sasl_cb;
-#endif
-	/* did someone say something about the end of the struct? */
-#ifdef HAVE_CYRUS_SASL
 	const char *current_mech;
 	int auth_fail_count;
-#endif
 
 	int sasl_state;
 	int sasl_maxbuf;
 	GString *sasl_mechs;
+#endif
 
 	gboolean unregistration;
 	PurpleAccountUnregistrationCb unregistration_cb;