diff options
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/jabber/jabber.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c index d8d77a36..b6fca9b2 100644 --- a/protocols/jabber/jabber.c +++ b/protocols/jabber/jabber.c @@ -545,6 +545,11 @@ static void gjab_connected_ssl(gpointer data, void *source, GaimInputCondition c  	struct jabber_data *jd;  	gjconn gjc; +	if (source == NULL) { +		STATE_EVT(JCONN_STATE_OFF) +		return; +	} +	  	if (!g_slist_find(get_connections(), gc)) {  		ssl_disconnect(source);  		return; @@ -553,11 +558,6 @@ static void gjab_connected_ssl(gpointer data, void *source, GaimInputCondition c  	jd = gc->proto_data;  	gjc = jd->gjc; -	if (source == NULL) { -		STATE_EVT(JCONN_STATE_OFF) -		return; -	} -	  	gjab_connected(data, gjc->fd, cond);  } | 
