[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kioslave/ftp
From:       David Faure <faure () kde ! org>
Date:       2005-02-18 17:20:19
Message-ID: 20050218172019.B46541D3FA () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Don't call ftpCloseCommand() when nothing was done


  M +4 -2      ftp.cc   1.217


--- kdelibs/kioslave/ftp/ftp.cc  #1.216:1.217
@@ -2441,6 +2441,8 @@ void Ftp::copy( const KURL &src, const K
     if( cs == statusServerError ) sCopyFile = src.url();
   }
-  else
-    iError = ERR_UNSUPPORTED_ACTION;
+  else {
+    error( ERR_UNSUPPORTED_ACTION, QString::null );
+    return;
+  }
 
   // perform clean-ups and report error (if any)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic