aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-30 22:39:57 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-30 22:39:57 +0000
commitb9b3961537784f3cf8c902d25cf18d8eb92ea104 (patch)
tree587b78b5c9b3d56a9df0e4a1f9dd0d8c77cd3def /main
parentd5dc8e490c38cbad09e49fba3a26928542ae9525 (diff)
Oops, wrong define
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@134704 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/sched.c b/main/sched.c
index b08f64443..b11b73a17 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -255,7 +255,7 @@ int ast_sched_add(struct sched_context *con, int when, ast_sched_cb callback, co
* would be two or more in the list with that
* id.
*/
-#ifndef DEVMODE
+#ifndef AST_DEVMODE
int ast_sched_del(struct sched_context *con, int id)
#else
int _ast_sched_del(struct sched_context *con, int id, const char *file, int line, const char *function)
@@ -286,7 +286,7 @@ int _ast_sched_del(struct sched_context *con, int id, const char *file, int line
if (!s) {
if (option_debug)
ast_log(LOG_DEBUG, "Attempted to delete nonexistent schedule entry %d!\n", id);
-#ifndef DEVMODE
+#ifndef AST_DEVMODE
ast_assert(s != NULL);
#else
_ast_assert(0, "s != NULL", file, line, function);