[asterisk-commits] tilghman: branch 1.4 r131988 - /branches/1.4/main/sched.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jul 18 12:10:02 CDT 2008
Author: tilghman
Date: Fri Jul 18 12:10:01 2008
New Revision: 131988
URL: http://svn.digium.com/view/asterisk?view=rev&rev=131988
Log:
Oops
Modified:
branches/1.4/main/sched.c
Modified: branches/1.4/main/sched.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/sched.c?view=diff&rev=131988&r1=131987&r2=131988
==============================================================================
--- branches/1.4/main/sched.c (original)
+++ branches/1.4/main/sched.c Fri Jul 18 12:10:01 2008
@@ -286,7 +286,11 @@
if (!s) {
if (option_debug)
ast_log(LOG_DEBUG, "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;
}
More information about the asterisk-commits
mailing list