From bbf213de0a4ec9cc9f3ac6a6b421cf867ca2c69a Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Sat, 7 Mar 2009 02:55:52 +0000 Subject: [PATCH] update regex git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12496 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_limit/mod_limit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_limit/mod_limit.c b/src/mod/applications/mod_limit/mod_limit.c index c68a4397f0..6b4bb5eec7 100644 --- a/src/mod/applications/mod_limit/mod_limit.c +++ b/src/mod/applications/mod_limit/mod_limit.c @@ -166,7 +166,7 @@ static switch_bool_t limit_execute_sql_callback(switch_mutex_t *mutex, char *sql return ret; } -static switch_xml_config_string_options_t limit_config_dsn = { NULL, 0, "\\w+:\\w+:\\w+" }; +static switch_xml_config_string_options_t limit_config_dsn = { NULL, 0, "(.+?):(.+?):(.+)" }; static switch_xml_config_item_t config_settings[] = { SWITCH_CONFIG_ITEM("odbc-dsn", SWITCH_CONFIG_STRING, 0, &globals.odbc_dsn, NULL, &limit_config_dsn,