summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-03-31 12:55:21 +0200
committerSlávek Banko <[email protected]>2019-03-31 12:55:21 +0200
commitc4f1ebc31d29027d8723fc8850acb4bc63645372 (patch)
treef59898a508731b4a5e8635b0ece2831f9028faa6
parent73b31355d497b567111c78f71fd5d3a5892c6bf2 (diff)
downloadkcmldapmanager-c4f1ebc31d29027d8723fc8850acb4bc63645372.tar.gz
kcmldapmanager-c4f1ebc31d29027d8723fc8850acb4bc63645372.zip
Added controlled conversions to char* instead of automatic ascii conversions.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r--cmdline/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/main.cpp b/cmdline/main.cpp
index dc22642..d196ce8 100644
--- a/cmdline/main.cpp
+++ b/cmdline/main.cpp
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
}
TQTextStream stream(&passFile);
credentials.username = args->getOption("adminusername");
- credentials.password = stream.readLine();
+ credentials.password = stream.readLine().utf8();
passFile.close();
}
else {