[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:       2004-06-14 23:15:49
Message-ID: 20040614231549.70B0F9980 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Fixed typo (contol -> control)


  M +104 -104  ftp.cc   1.211
  M +51 -51    ftp.h   1.57


--- kdelibs/kioslave/ftp/ftp.cc  #1.210:1.211
@@ -298,5 +298,5 @@ Ftp::Ftp( const QCString &pool, const QC
   // init the socket data
   m_data = m_control = NULL;
-  ftpCloseContolConnection();
+  ftpCloseControlConnection();
   
   // init other members
@@ -324,8 +324,8 @@ void Ftp::ftpCloseDataConnection()
 
 /**
- * This closes a control connection opened by ftpOpenContolConnection() and reinits the
+ * This closes a control connection opened by ftpOpenControlConnection() and reinits the
  * related states.  This method gets called from the constructor with m_control = NULL. 
  */
-void Ftp::ftpCloseContolConnection()
+void Ftp::ftpCloseControlConnection()
 {
   m_extControl = 0;
@@ -410,5 +410,5 @@ void Ftp::closeConnection()
   // close the data and control connections ...
   ftpCloseDataConnection();
-  ftpCloseContolConnection();
+  ftpCloseControlConnection();
 }
 
@@ -464,6 +464,6 @@ bool Ftp::ftpOpenConnection (LoginMode l
   unsigned short int port = m_bUseProxy ? m_proxyURL.port() : m_port;
   
-  if (!ftpOpenContolConnection(host, port) )
-    return false;          // error emitted by ftpOpenContolConnection
+  if (!ftpOpenControlConnection(host, port) )
+    return false;          // error emitted by ftpOpenControlConnection
   infoMessage( i18n("Connected to host %1").arg(m_host) );
 
@@ -486,5 +486,5 @@ bool Ftp::ftpOpenConnection (LoginMode l
  * @return true on success.
  */
-bool Ftp::ftpOpenContolConnection( const QString &host, unsigned short int port )
+bool Ftp::ftpOpenControlConnection( const QString &host, unsigned short int port )
 {
   if ( port == 0 )  {

--- kdelibs/kioslave/ftp/ftp.h  #1.56:1.57
@@ -450,10 +450,10 @@ private:
    * @return true on success.
    */
-  bool ftpOpenContolConnection( const QString & host, unsigned short int port );
+  bool ftpOpenControlConnection( const QString & host, unsigned short int port );
 
   /**
-   * closes the socket holding the control connection (see ftpOpenContolConnection)
+   * closes the socket holding the control connection (see ftpOpenControlConnection)
    */
-  void ftpCloseContolConnection();
+  void ftpCloseControlConnection();
 
   /**


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

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