[asterisk-commits] tilghman: trunk r233732 - /trunk/addons/res_config_mysql.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Dec 8 12:40:22 CST 2009
Author: tilghman
Date: Tue Dec 8 12:40:19 2009
New Revision: 233732
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=233732
Log:
Typo pointed out on #asterisk-dev (by atis_work)
Modified:
trunk/addons/res_config_mysql.c
Modified: trunk/addons/res_config_mysql.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/res_config_mysql.c?view=diff&rev=233732&r1=233731&r2=233732
==============================================================================
--- trunk/addons/res_config_mysql.c (original)
+++ trunk/addons/res_config_mysql.c Tue Dec 8 12:40:19 2009
@@ -1227,7 +1227,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-commits
mailing list