[svn-commits] jrose: branch 1.8 r333569 - /branches/1.8/res/res_jabber.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Aug 29 10:55:48 CDT 2011


Author: jrose
Date: Mon Aug 29 10:55:34 2011
New Revision: 333569

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=333569
Log:
Accidental use of variable client->status instead of client->state in from ASTERISK-18078

(issue ASTERISK-18078)

Modified:
    branches/1.8/res/res_jabber.c

Modified: branches/1.8/res/res_jabber.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_jabber.c?view=diff&rev=333569&r1=333568&r2=333569
==============================================================================
--- branches/1.8/res/res_jabber.c (original)
+++ branches/1.8/res/res_jabber.c Mon Aug 29 10:55:34 2011
@@ -1465,7 +1465,7 @@
 #endif
 	/* If needed, data will be sent unencrypted, and logHook will
 	   be called inside iks_send_raw */
-	if((client->timeout != 0 && client->status == AJI_CONNECTED) || (client->status == AJI_CONNECTING))
+	if((client->timeout != 0 && client->state == AJI_CONNECTED) || (client->state == AJI_CONNECTING))
 	{
 	    ret = iks_send_raw(client->p, xmlstr);
 	}




More information about the svn-commits mailing list