From: Anthony Minessale Date: Wed, 23 Jan 2013 20:32:04 +0000 (-0600) Subject: FS-5027 try this one X-Git-Tag: v1.3.13~110^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=117609d2b39581501416c3fe2fde3ecd46b0eb4a;p=thirdparty%2Ffreeswitch.git FS-5027 try this one --- diff --git a/src/mod/languages/mod_lua/freeswitch_lua.cpp b/src/mod/languages/mod_lua/freeswitch_lua.cpp index 316ddf30a9..f4d5291db9 100644 --- a/src/mod/languages/mod_lua/freeswitch_lua.cpp +++ b/src/mod/languages/mod_lua/freeswitch_lua.cpp @@ -339,12 +339,12 @@ Dbh::Dbh(char *dsn, char *user, char *pass) if (!zstr(user) || !zstr(pass)) { tmp = switch_mprintf("%s%s%s%s%s", dsn, - zstr(user) ? "" : ",uid=", + zstr(user) ? "" : ":", zstr(user) ? "" : user, - zstr(pass) ? "" : ",pwd=", + zstr(pass) ? "" : ":", zstr(pass) ? "" : pass ); - + dsn = tmp; }