FS-5027 try this one

This commit is contained in:
Anthony Minessale 2013-01-23 14:32:04 -06:00
parent ec857b2da6
commit 117609d2b3
1 changed files with 3 additions and 3 deletions

View 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;
}