Skip to content

Commit

Permalink
Now finally fixing this fucking typo...
Browse files Browse the repository at this point in the history
  • Loading branch information
buschmann23 committed May 9, 2017
1 parent 67ca3f0 commit 091cc8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/webcyradmimporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ int WebCyradmImporter::exec() const
bool wdbaccess = false;
Database wdb;
printStatus(tr("Establishing connection to web-cyradm database"));
wdbaccess = wdb.open(wdbtype, wdbhost, wdbport, wdbname, wdbuser, wdbpass);
wdbaccess = wdb.open(wdbtype, wdbhost, wdbport, wdbname, wdbuser, wdbpass, QStringLiteral("webcyradmdb"));

while (!wdbaccess) {
printFailed();
Expand Down Expand Up @@ -338,7 +338,7 @@ int WebCyradmImporter::exec() const
sdbport = dbconf.value(QStringLiteral("port")).value<quint16>();
sdbname = dbconf.value(QStringLiteral("name")).toString();
sdbuser = dbconf.value(QStringLiteral("user")).toString();
sdbpass = dbconf.value(QStringLiteral("passwod")).toString();
sdbpass = dbconf.value(QStringLiteral("password")).toString();
sdbaccess = sdb.open(sdbtype, sdbhost, sdbport, sdbname, sdbuser, sdbpass, QStringLiteral("skaffaridb"));
if (sdbaccess) {
printDone();;
Expand Down

0 comments on commit 091cc8b

Please sign in to comment.