summaryrefslogtreecommitdiffstats
path: root/tdeio_ftps/ftp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio_ftps/ftp.cc')
-rw-r--r--tdeio_ftps/ftp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeio_ftps/ftp.cc b/tdeio_ftps/ftp.cc
index 2bacb8e..41e6f32 100644
--- a/tdeio_ftps/ftp.cc
+++ b/tdeio_ftps/ftp.cc
@@ -1266,7 +1266,7 @@ bool Ftp::ftpCloseCommand()
kdDebug(7102) << "ftpCloseCommand: reading command result" << endl;
m_bBusy = false;
- if(ftpResponse(-1) <= 0 || (m_iRespType != 2) )
+ if(!ftpResponse(-1) || (m_iRespType != 2) )
{
kdDebug(7102) << "ftpCloseCommand: no transfer complete message" << endl;
return false;