[Home]

Summary:ASTERISK-04023: [patch] pri_timer2idx usage incorrect in chan_zap.c
Reporter:Kevin P. Fleming (kpfleming)Labels:
Date Opened:2005-05-01 14:42:05Date Closed:2011-06-07 14:11:56
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:setting pritimes using pri_timer2idx, if an invalid timer id is used pri_timer2idx returns -1 while 0 is a valid id (N200). The if statement assumes return value 0 as error. patch for the same is attahed.

****** ADDITIONAL INFORMATION ******

disclamer on the file
Comments:By: Michael Jerris (mikej) 2005-05-30 21:18:41

pri_timer2idx is not actually used in chan_zap in stable... I don't think this is an issue in stable?

By: Clod Patry (junky) 2005-05-30 23:13:18

Like the function pri_timer2idx doesn't exists, let's this closed.