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>
Fixed lintian report in man page

View File

@ -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

View File

@ -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);
}

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.
// 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

View File

@ -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();