From 117609d2b39581501416c3fe2fde3ecd46b0eb4a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 23 Jan 2013 14:32:04 -0600 Subject: [PATCH] FS-5027 try this one --- src/mod/languages/mod_lua/freeswitch_lua.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }