From 2b7b7e2e686c8899f75fa089da5b72e02b0f7fb7 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Mon, 20 Sep 2004 13:29:37 +0000 Subject: [PATCH] Make sure retranstimer is set to 0 git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@135 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 1 + 1 file changed, 1 insertion(+) diff --git a/q931.c b/q931.c index 76069c4..ceeb86a 100755 --- a/q931.c +++ b/q931.c @@ -2112,6 +2112,7 @@ int q931_connect(struct pri *pri, q931_call *c, int channel, int nonisdn) /* Setup timer */ if (c->retranstimer) pri_schedule_del(pri, c->retranstimer); + c->retranstimer = 0; if ((pri->localtype == PRI_CPE) && (!pri->subchannel)) c->retranstimer = pri_schedule_event(pri, T_313, pri_connect_timeout, c); return send_message(pri, c, Q931_CONNECT, connect_ies);