[asterisk-addons-commits] branch 1.2 r209 - /branches/1.2/app_addon_sql_mysql.c

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Tue Apr 25 13:25:02 MST 2006


Author: kpfleming
Date: Tue Apr 25 15:24:59 2006
New Revision: 209

URL: http://svn.digium.com/view/asterisk-addons?rev=209&view=rev
Log:
use proper conditional for enabling logging

Modified:
    branches/1.2/app_addon_sql_mysql.c

Modified: branches/1.2/app_addon_sql_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/branches/1.2/app_addon_sql_mysql.c?rev=209&r1=208&r2=209&view=diff
==============================================================================
--- branches/1.2/app_addon_sql_mysql.c (original)
+++ branches/1.2/app_addon_sql_mysql.c Tue Apr 25 15:24:59 2006
@@ -314,7 +314,7 @@
 					s6=mysqlrow[j];
 					pbx_builtin_setvar_helper(chan,s5, s6 ? s6 : "NULL");
 				}
-#ifdef EXTRA_LOG
+#if EXTRA_LOG
 				ast_log(LOG_WARNING,"ast_MYSQL_fetch: numFields=%d\n",numFields);
 #endif
 				set_asterisk_int(chan,fetchid_var,1); // try more rows



More information about the asterisk-addons-commits mailing list