--- a/libpurple/protocols/jabber/auth_cyrus.c Sun Feb 02 20:17:46 2014 +0100
+++ b/libpurple/protocols/jabber/auth_cyrus.c Mon Feb 03 04:41:24 2014 +0100
@@ -181,7 +181,7 @@
static gboolean remove_current_mech(JabberStream *js) {
if ((pos = strstr(js->sasl_mechs->str, js->current_mech))) {
- int len = strlen(js->current_mech);
+ size_t len = strlen(js->current_mech); /* Clean up space that separated this Mech from the one before or after it */
if (pos > js->sasl_mechs->str && *(pos - 1) == ' ') {
/* Handle removing space before when current_mech isn't the first mech in the list */