[Asterisk-code-review] sched.c: Make not return a sched id of 0. (asterisk[certified/13.1])

Richard Mudgett asteriskteam at digium.com
Tue Dec 1 14:03:08 CST 2015


Richard Mudgett has uploaded a new patch set (#2).

Change subject: sched.c: Make not return a sched id of 0.
......................................................................

sched.c: Make not return a sched id of 0.

According to the API doxygen a sched ID of 0 is valid.  Unfortunately, 0
was never returned historically and several users incorrectly coded usage
of the returned sched ID assuming that 0 was invalid.

ASTERISK-25476

Change-Id: Ib19c7ebb44ec9fd393ef6646dea806d4f34e3a20
---
M main/sched.c
1 file changed, 9 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/40/1740/2
-- 
To view, visit https://gerrit.asterisk.org/1740
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib19c7ebb44ec9fd393ef6646dea806d4f34e3a20
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: certified/13.1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019



More information about the asterisk-code-review mailing list