sched.c: Make not return a sched id of 0.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 30 Nov 2015 22:42:47 +0000 (16:42 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 1 Dec 2015 19:54:04 +0000 (13:54 -0600)
commitef77439e39fe7bfc894e4ad41b866d3f6cf8f750
tree589b3efc1e68acdc33de69e22876957a72518a46
parent145d10a5d0c1f7a0b6d3fe27462c922d4ca27091
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
main/sched.c