MODAPP-383

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16018 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-12-22 15:16:32 +00:00
parent d2ea91a070
commit 06c036c060

View File

@ -1899,7 +1899,7 @@ static switch_status_t load_config(int reload, int del_all)
if (switch_odbc_available()) {
globals.odbc_dsn = switch_core_strdup(globals.pool, val);
if ((globals.odbc_user = strchr(globals.odbc_dsn, ':'))) {
*odbc_user++ = '\0';
*globals.odbc_user++ = '\0';
if ((globals.odbc_pass = strchr(globals.odbc_user, ':'))) {
*globals.odbc_pass++ = '\0';
}