From: Jonathan Rose Date: Mon, 29 Aug 2011 15:55:34 +0000 (+0000) Subject: Accidental use of variable client->status instead of client->state in from ASTERISK... X-Git-Tag: 1.8.7.0-rc1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b2f8bc77294fa2acb71924db975410b0020b3b5;p=thirdparty%2Fasterisk.git Accidental use of variable client->status instead of client->state in from ASTERISK-18078 (issue ASTERISK-18078) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@333569 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_jabber.c b/res/res_jabber.c index bc4f0ad251..3b37e5529d 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -1465,7 +1465,7 @@ static int aji_send_raw(struct aji_client *client, const char *xmlstr) #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); }