diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-18 17:10:34 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-18 17:10:34 +0000 |
commit | c38013c17776a21efb37e021d7d8dcf4c41a586f (patch) | |
tree | f7dd804033c2c5c15c32ed16a4a41dde7a3d7f11 /main | |
parent | 59a2caa7f01a3db5c52113ffdf8c8732918895e0 (diff) |
Merged revisions 131988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131988 | tilghman | 2008-07-18 12:10:01 -0500 (Fri, 18 Jul 2008) | 2 lines
Oops
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131989 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/sched.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/sched.c b/main/sched.c index 6a6830b83..f32cfab92 100644 --- a/main/sched.c +++ b/main/sched.c @@ -377,7 +377,11 @@ int _ast_sched_del(struct sched_context *con, int id, const char *file, int line if (!s) { ast_debug(1, "Attempted to delete nonexistent schedule entry %d!\n", id); +#ifndef DEVMODE + ast_assert(s != NULL); +#else _ast_assert(0, "s != NULL", file, line, function); +#endif return -1; } |