Added controlled conversions to char* instead of automatic ascii conversions.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
r14.0.x
Slávek Banko 6 years ago
parent ea962b24d1
commit ccee21ee3f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -101,7 +101,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 {

Loading…
Cancel
Save