libpurple/protocols/irc/msgs.c

branch
release-2.x.y
changeset 40919
8924ad9e86c4
parent 40718
5201d33e8999
child 41333
ed2b25ccdf2c
--- a/libpurple/protocols/irc/msgs.c	Wed Jun 02 02:59:43 2021 -0500
+++ b/libpurple/protocols/irc/msgs.c	Wed Jun 02 03:00:13 2021 -0500
@@ -1494,7 +1494,10 @@
 	} else {
 		secprops.max_ssf = 0;
 		secprops.maxbufsize = 0;
-		plaintext = TRUE;
+		/* this isn't checked anywhere else, but I'm going to guess it's because
+		 * something is incomplete?.
+		 */
+		/* plaintext = TRUE; */
 	}
 
 	secprops.property_names = 0;
@@ -1592,7 +1595,7 @@
 		return;
 	}
 
-	if ((ret = sasl_client_init(NULL)) != SASL_OK) {
+	if (sasl_client_init(NULL) != SASL_OK) {
 		const char *tmp = _("SASL authentication failed: Initializing SASL failed.");
 		purple_connection_error_reason (gc,
 			PURPLE_CONNECTION_ERROR_OTHER_ERROR, tmp);

mercurial