[svn-commits] tilghman: branch 1.6.2 r1074 - /branches/1.6.2/res/res_config_mysql.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Dec 8 12:42:36 CST 2009


Author: tilghman
Date: Tue Dec  8 12:42:33 2009
New Revision: 1074

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

Modified:
    branches/1.6.2/res/res_config_mysql.c

Modified: branches/1.6.2/res/res_config_mysql.c
URL: http://svnview.digium.com/svn/asterisk-addons/branches/1.6.2/res/res_config_mysql.c?view=diff&rev=1074&r1=1073&r2=1074
==============================================================================
--- branches/1.6.2/res/res_config_mysql.c (original)
+++ branches/1.6.2/res/res_config_mysql.c Tue Dec  8 12:42:33 2009
@@ -1243,7 +1243,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 svn-commits mailing list