reset timeout on reconnect.
authorMatt O'Gorman <mogorman@digium.com>
Wed, 24 May 2006 19:59:04 +0000 (19:59 +0000)
committerMatt O'Gorman <mogorman@digium.com>
Wed, 24 May 2006 19:59:04 +0000 (19:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30039 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_jabber.c

index f99ef74..cf9da90 100644 (file)
@@ -1616,6 +1616,7 @@ static int aji_reconnect(struct aji_client *client)
 
        if (client->state)
                client->state = AJI_DISCONNECTED;
+       client->timeout=20;
        if (client->p)
                iks_parser_reset(client->p);
        if (client->authorized)