diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-01 19:05:28 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-01 19:05:28 +0000 |
commit | 0ac398d617b84934e59e8d1f7fefbff858021f0b (patch) | |
tree | 803183b295b2e82238c7601c8d8f7f31fbbb3627 /channels | |
parent | 10f68ba2f99b63aeaeb1f246f99105f268acf4ba (diff) |
Oops
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@127069 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_iax2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 34d45476f..9f30359e2 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -1493,8 +1493,8 @@ static int make_trunk(unsigned short callno, int locked) * \note We delete these before switching the slot, because if * they fire in the meantime, they will generate a warning. */ - AST_SCHED_DEL(sched, iaxs[x]->pingid); - AST_SCHED_DEL(sched, iaxs[x]->lagid); + AST_SCHED_DEL(sched, iaxs[callno]->pingid); + AST_SCHED_DEL(sched, iaxs[callno]->lagid); iaxs[x] = iaxs[callno]; iaxs[x]->callno = x; iaxs[callno] = NULL; |