1
--- a/src/download/download_constructor.cc
2
+++ b/src/download/download_constructor.cc
4
throw input_error("Bad torrent file, \"path\" has zero entries.");
6
if (std::find_if(plist.begin(), plist.end(), std::ptr_fun(&DownloadConstructor::is_invalid_path_element)) != plist.end())
7
- throw input_error("Bad torrent file, \"path\" has zero entries or a zero lenght entry.");
8
+ throw input_error("Bad torrent file, \"path\" has zero entries or a zero length entry.");
12
--- a/src/protocol/peer_connection_base.cc
13
+++ b/src/protocol/peer_connection_base.cc
17
if (!transfer->block()->is_transfering())
18
- throw internal_error("PeerConnectionBase::down_chunk_skip_process(...) block is not transfering, yet we have non-leaders.");
19
+ throw internal_error("PeerConnectionBase::down_chunk_skip_process(...) block is not transferring, yet we have non-leaders.");
22
if (transfer->position() > transfer->block()->leader()->position())