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

Fixed typo
	* src/BtDependency.cc
	* src/BtRejectMessage.cc
	* src/FtpConnection.cc
	* src/HttpHeaderProcessor.h
pull/1/head
Tatsuhiro Tsujikawa 2009-10-13 08:48:58 +00:00
parent eb958ac1ce
commit ac63a32c48
5 changed files with 12 additions and 4 deletions

View File

@ -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> 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed lintian report in man page Fixed lintian report in man page

View File

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

View File

@ -61,7 +61,7 @@ void BtRejectMessage::doReceivedAction()
RequestSlot slot = RequestSlot slot =
dispatcher->getOutstandingRequest(getIndex(), getBegin(), getLength()); dispatcher->getOutstandingRequest(getIndex(), getBegin(), getLength());
if(RequestSlot::isNull(slot)) { 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 { } else {
dispatcher->removeOutstandingRequest(slot); dispatcher->removeOutstandingRequest(slot);
} }

View File

@ -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. // Returns the length of the reponse if the whole response has been received.
// The length includes \r\n. // 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 std::string::size_type
FtpConnection::findEndOfResponse(unsigned int status, FtpConnection::findEndOfResponse(unsigned int status,
const std::string& buf) const const std::string& buf) const

View File

@ -71,7 +71,7 @@ public:
size_t getPutBackDataLength() const; 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. * HttpHeader object.
*/ */
SharedHandle<HttpHeader> getHttpResponseHeader(); SharedHandle<HttpHeader> getHttpResponseHeader();