thats odd, but just in case it happens again i want to see it.
authorMatt O'Gorman <mogorman@digium.com>
Wed, 20 Sep 2006 00:39:44 +0000 (00:39 +0000)
committerMatt O'Gorman <mogorman@digium.com>
Wed, 20 Sep 2006 00:39:44 +0000 (00:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43305 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_jabber.c

index 8ab55fa..d8b6d2e 100644 (file)
@@ -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;
                                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;
                                break;
                        }
                        break;