[asterisk-addons-commits] tilghman: branch 1.6.1 r1073 - /branches/1.6.1/res/res_config_mysql.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Tue Dec 8 12:41:43 CST 2009


Author: tilghman
Date: Tue Dec  8 12:41:40 2009
New Revision: 1073

URL: http://svnview.digium.com/svn/asterisk-addons?view=rev&rev=1073
Log:
Typo pointed out on #asterisk-dev (by atis_work)

Modified:
    branches/1.6.1/res/res_config_mysql.c

Modified: branches/1.6.1/res/res_config_mysql.c
URL: http://svnview.digium.com/svn/asterisk-addons/branches/1.6.1/res/res_config_mysql.c?view=diff&rev=1073&r1=1072&r2=1073
==============================================================================
--- branches/1.6.1/res/res_config_mysql.c (original)
+++ branches/1.6.1/res/res_config_mysql.c Tue Dec  8 12:41:40 2009
@@ -1129,7 +1129,7 @@
 					} else {
 						res = -1;
 					}
-				} else if ((strncmp(column->type, "datetime", 8) == 0 || strncmp(column->type, "timestamp", 9)) && type != RQ_DATETIME) {
+				} else if ((strncmp(column->type, "datetime", 8) == 0 || strncmp(column->type, "timestamp", 9) == 0) && type != RQ_DATETIME) {
 					if (table->database->requirements == RQ_WARN) {
 						ast_log(LOG_WARNING, "Realtime table %s@%s: Column %s cannot be a %s\n", tablename, database, column->name, column->type);
 						res = -1;




More information about the asterisk-addons-commits mailing list