summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncmanager.cpp
authorzautrix <zautrix>2005-02-24 00:28:59 (UTC)
committer zautrix <zautrix>2005-02-24 00:28:59 (UTC)
commit513496c67403deb04339cfc87143ed5554720e32 (patch) (side-by-side diff)
tree87a0195e9875c539061ff70d18b05e4d50e96150 /libkdepim/ksyncmanager.cpp
parentfd1e112db9e9d3dc656a540c05a87cbb4679939c (diff)
downloadkdepimpi-513496c67403deb04339cfc87143ed5554720e32.zip
kdepimpi-513496c67403deb04339cfc87143ed5554720e32.tar.gz
kdepimpi-513496c67403deb04339cfc87143ed5554720e32.tar.bz2
fix
Diffstat (limited to 'libkdepim/ksyncmanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp
index 5214fe7..d8ca3ba 100644
--- a/libkdepim/ksyncmanager.cpp
+++ b/libkdepim/ksyncmanager.cpp
@@ -1178,27 +1178,30 @@ void KServerSocket::readClient()
if ( ok ) {
KSyncManager::mRequestedSyncEvent = dt;
}
else
KSyncManager::mRequestedSyncEvent = QDateTime();
send_file();
}
else {
+ error_connect();
KMessageBox::error( 0, i18n("Got send file request\nwith invalid password"));
//qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() );
}
}
if ( tokens[0] == "PUT" ) {
if ( tokens[1] == mPassWord ) {
//emit getFile( mSocket );
blockRC = true;
get_file();
}
else {
+ error_connect();
+ end_connect();
KMessageBox::error( 0, i18n("Got receive file request\nwith invalid password"));
//qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() );
}
}
if ( tokens[0] == "STOP" ) {
//emit endConnect();
end_connect();
}