summaryrefslogtreecommitdiff
path: root/res/res_jabber.c
diff options
context:
space:
mode:
authorMatt O'Gorman <mogorman@digium.com>2006-09-20 00:39:44 +0000
committerMatt O'Gorman <mogorman@digium.com>2006-09-20 00:39:44 +0000
commit02868b17236f005e97c8ff20d03bedad2df39a43 (patch)
tree6a4e9b7d21ae4f9789a35b40930090d05a471c71 /res/res_jabber.c
parentf6f7e134beaa2b99f9f9690c8c47b5d9dd42066d (diff)
thats odd, but just in case it happens again i want to see it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_jabber.c')
-rw-r--r--res/res_jabber.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c
index 8ab55faa6..d8b6d2e0b 100644
--- a/res/res_jabber.c
+++ b/res/res_jabber.c
@@ -595,6 +595,8 @@ static int aji_act_hook(void *data, int type, iks *node)
client->state = AJI_CONNECTING;
if(iks_recv(client->p,1) == 2) /*XXX proper result for iksemel library on iks_recv of <handshake/> XXX*/
client->state = AJI_CONNECTED;
+ else
+ ast_log(LOG_WARNING,"Jabber didn't seem to handshake\n");
break;
}
break;