From: Art Cancro Date: Wed, 19 Mar 2008 19:41:58 +0000 (+0000) Subject: oops ... minor fix to above X-Git-Tag: v7.86~2400 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=2ddd46a109436aa9b7d1eb07e9de579ca485395b oops ... minor fix to above --- diff --git a/citadel/modules/jabber/xmpp_sasl_service.c b/citadel/modules/jabber/xmpp_sasl_service.c index 8a32aee22..78eab97fc 100644 --- a/citadel/modules/jabber/xmpp_sasl_service.c +++ b/citadel/modules/jabber/xmpp_sasl_service.c @@ -59,7 +59,6 @@ int xmpp_auth_plain(char *authstring) char user[256]; char pass[256]; int result; - char *ptr = NULL; /* Take apart the authentication string */ @@ -117,7 +116,7 @@ void xmpp_sasl_auth(char *sasl_auth_mech, char *authstring) { return; } - if (CC->logged_in) logout(CC); /* Client may try to log in twice. Handle this. */ + if (CC->logged_in) logout(); /* Client may try to log in twice. Handle this. */ if (xmpp_auth_plain(authstring) == 0) { cprintf(""); @@ -138,7 +137,7 @@ void xmpp_sasl_auth(char *sasl_auth_mech, char *authstring) { void jabber_non_sasl_authenticate(char *iq_id, char *username, char *password, char *resource) { int result; - if (CC->logged_in) logout(CC); /* Client may try to log in twice. Handle this. */ + if (CC->logged_in) logout(); /* Client may try to log in twice. Handle this. */ result = CtdlLoginExistingUser(NULL, username); if (result == login_ok) {