[asterisk-commits] tilghman: branch 1.4 r134704 - in /branches/1.4: include/asterisk/ main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 30 17:39:58 CDT 2008


Author: tilghman
Date: Wed Jul 30 17:39:57 2008
New Revision: 134704

URL: http://svn.digium.com/view/asterisk?view=rev&rev=134704
Log:
Oops, wrong define

Modified:
    branches/1.4/include/asterisk/sched.h
    branches/1.4/main/sched.c

Modified: branches/1.4/include/asterisk/sched.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/sched.h?view=diff&rev=134704&r1=134703&r2=134704
==============================================================================
--- branches/1.4/include/asterisk/sched.h (original)
+++ branches/1.4/include/asterisk/sched.h Wed Jul 30 17:39:57 2008
@@ -134,7 +134,7 @@
  * \param id ID of the scheduled item to delete
  * \return Returns 0 on success, -1 on failure
  */
-#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);

Modified: branches/1.4/main/sched.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/sched.c?view=diff&rev=134704&r1=134703&r2=134704
==============================================================================
--- branches/1.4/main/sched.c (original)
+++ branches/1.4/main/sched.c Wed Jul 30 17:39:57 2008
@@ -255,7 +255,7 @@
  * 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 @@
 	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);




More information about the asterisk-commits mailing list