]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5027 try this one
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 23 Jan 2013 20:32:04 +0000 (14:32 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 23 Jan 2013 20:32:04 +0000 (14:32 -0600)
src/mod/languages/mod_lua/freeswitch_lua.cpp

index 316ddf30a942b56a255ee9e052af287348b4a36a..f4d5291db9d96e1580819cac647d0523c18d3c76 100644 (file)
@@ -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;
        }