Explorar el Código

2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Fixed typo
	* src/BtDependency.cc
	* src/BtRejectMessage.cc
	* src/FtpConnection.cc
	* src/HttpHeaderProcessor.h
Tatsuhiro Tsujikawa hace 16 años
padre
commit
ac63a32c48
Se han modificado 5 ficheros con 12 adiciones y 4 borrados
  1. 8 0
      ChangeLog
  2. 1 1
      src/BtDependency.cc
  3. 1 1
      src/BtRejectMessage.cc
  4. 1 1
      src/FtpConnection.cc
  5. 1 1
      src/HttpHeaderProcessor.h

+ 8 - 0
ChangeLog

@@ -1,3 +1,11 @@
+2009-10-13  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Fixed typo
+	* src/BtDependency.cc
+	* src/BtRejectMessage.cc
+	* src/FtpConnection.cc
+	* src/HttpHeaderProcessor.h
+
 2009-10-13  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Fixed lintian report in man page

+ 1 - 1
src/BtDependency.cc

@@ -76,7 +76,7 @@ bool BtDependency::resolve()
       if(context->getFileEntries().size() !=
 	 _dependant->getDownloadContext()->getFileEntries().size()) {
 	throw DL_ABORT_EX("The number of file in torrent doesn't match to"
-			  " the dependant.");
+			  " the dependent.");
       }
       // Copy file path in _dependant's FileEntries to newly created
       // context's FileEntries to endorse the path structure of

+ 1 - 1
src/BtRejectMessage.cc

@@ -61,7 +61,7 @@ void BtRejectMessage::doReceivedAction()
   RequestSlot slot =
     dispatcher->getOutstandingRequest(getIndex(), getBegin(), getLength());
   if(RequestSlot::isNull(slot)) {
-    //throw DL_ABORT_EX("reject recieved, but it is not in the request slots.");
+    //throw DL_ABORT_EX("reject received, but it is not in the request slots.");
   } else {
     dispatcher->removeOutstandingRequest(slot);
   }

+ 1 - 1
src/FtpConnection.cc

@@ -272,7 +272,7 @@ unsigned int FtpConnection::getStatus(const std::string& response) const
 
 // Returns the length of the reponse if the whole response has been received.
 // The length includes \r\n.
-// If the whole response has not been recieved, then returns std::string::npos.
+// If the whole response has not been received, then returns std::string::npos.
 std::string::size_type
 FtpConnection::findEndOfResponse(unsigned int status,
 				 const std::string& buf) const

+ 1 - 1
src/HttpHeaderProcessor.h

@@ -71,7 +71,7 @@ public:
   size_t getPutBackDataLength() const;
 
   /**
-   * Processes the recieved header as a http response header and returns
+   * Processes the received header as a http response header and returns
    * HttpHeader object.
    */
   SharedHandle<HttpHeader> getHttpResponseHeader();