mirror of https://github.com/aria2/aria2
Fix typo found by Debian's Lintian
parent
02b1d68815
commit
d73dd9c372
|
@ -1630,7 +1630,7 @@ Advanced Options
|
|||
|
||||
.. option:: --socket-recv-buffer-size=<SIZE>
|
||||
|
||||
Set the maximum socket receive buffer in bytes. Specifing ``0``
|
||||
Set the maximum socket receive buffer in bytes. Specifying ``0``
|
||||
will disable this option. This value will be set to socket file
|
||||
descriptor using ``SO_RCVBUF`` socket option with ``setsockopt()``
|
||||
call. Default: ``0``
|
||||
|
|
|
@ -316,7 +316,7 @@ void DownloadEngine::evictSocketPool()
|
|||
}
|
||||
|
||||
std::multimap<std::string, SocketPoolEntry> newPool;
|
||||
A2_LOG_DEBUG("Scaning SocketPool and erasing timed out entry.");
|
||||
A2_LOG_DEBUG("Scanning SocketPool and erasing timed out entry.");
|
||||
for (auto& elem : socketPool_) {
|
||||
if (!elem.second.isTimeout()) {
|
||||
newPool.insert(elem);
|
||||
|
|
|
@ -585,7 +585,7 @@
|
|||
#define TEXT_ON_DOWNLOAD_START \
|
||||
_(" --on-download-start=COMMAND Set the command to be executed after download\n" \
|
||||
" got started. aria2 passes 3 arguments to COMMAND:\n" \
|
||||
" GID, the nubmer of files and file path. See Event\n" \
|
||||
" GID, the number of files and file path. See Event\n" \
|
||||
" Hook in man page for more details.")
|
||||
#define TEXT_ON_DOWNLOAD_PAUSE \
|
||||
_(" --on-download-pause=COMMAND Set the command to be executed after download\n" \
|
||||
|
@ -1077,7 +1077,7 @@
|
|||
#define TEXT_SOCKET_RECV_BUFFER_SIZE \
|
||||
_(" --socket-recv-buffer-size=SIZE\n" \
|
||||
" Set the maximum socket receive buffer in bytes.\n" \
|
||||
" Specifing 0 will disable this option. This value\n" \
|
||||
" Specifying 0 will disable this option. This value\n" \
|
||||
" will be set to socket file descriptor using\n" \
|
||||
" SO_RCVBUF socket option with setsockopt() call.")
|
||||
#define TEXT_BT_ENABLE_HOOK_AFTER_HASH_CHECK \
|
||||
|
|
Loading…
Reference in New Issue