mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user