reset timeout on reconnect.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matt O'Gorman 2006-05-24 19:59:04 +00:00
parent b8b1fda04c
commit 45e83fa7c1
1 changed files with 1 additions and 0 deletions

View 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)