summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-30 04:58:32 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-30 04:58:32 +0300
commit009da07cef098a4ab07cb757950c2a53d6b1ba1a (patch)
treeac04406db58d9bb70838fbddb25a02a423a4ab4f /src/client.cpp
parentb7b44e238bb9802ce5d0ea6a8dec1ea6c9c8e0b8 (diff)
downloadmv-009da07cef098a4ab07cb757950c2a53d6b1ba1a.tar.gz
mv-009da07cef098a4ab07cb757950c2a53d6b1ba1a.tar.bz2
mv-009da07cef098a4ab07cb757950c2a53d6b1ba1a.tar.xz
mv-009da07cef098a4ab07cb757950c2a53d6b1ba1a.zip
Fix code style and compilation warnings.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index bf9e34b00..843f7c961 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -544,7 +544,7 @@ Client::Client(const Options &options):
loginData.username = mOptions.username;
loginData.password = mOptions.password;
- loginData.remember = serverConfig.getValue("remember", true);
+ loginData.remember = serverConfig.getValue("remember", 1);
loginData.registerLogin = false;
if (mCurrentServer.hostname.empty())
@@ -790,7 +790,7 @@ int Client::exec()
else
loginData.username = mOptions.username;
- loginData.remember = serverConfig.getValue("remember", true);
+ loginData.remember = serverConfig.getValue("remember", 1);
Net::connectToServer(mCurrentServer);