/pidgin/main: 0c19895fef84: irc: Fix compiling no member gsc in ...

Mike Ruprecht cmaiku at gmail.com
Mon Jul 18 00:33:09 EDT 2016


Changeset: 0c19895fef8434f9dc8b69b7cdb598da49e0a735
Author:	 Mike Ruprecht <cmaiku at gmail.com>
Date:	 2016-07-06 14:05 -0500
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/0c19895fef84

Description:

irc: Fix compiling no member gsc in irc_conn

Port a reference to irc_conn.gsc to Gio I missed due having tested
without HAVE_CYRUS_SASL enabled. This fixes building IRC when cyrus
sasl is installed.

diffstat:

 libpurple/protocols/irc/msgs.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/irc/msgs.c b/libpurple/protocols/irc/msgs.c
--- a/libpurple/protocols/irc/msgs.c
+++ b/libpurple/protocols/irc/msgs.c
@@ -1467,7 +1467,7 @@ irc_auth_start_cyrus(struct irc_conn *ir
 	secprops.min_ssf = 0;
 	secprops.security_flags = SASL_SEC_NOANONYMOUS;
 
-	if (!irc->gsc) {
+	if (!G_IS_TLS_CONNECTION(irc->conn)) {
 		gboolean plaintext;
 
 		secprops.max_ssf = -1;



More information about the Commits mailing list