summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-09-03 22:46:10 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-09-03 22:46:10 +0900
commitd73dd9c3729acb2545cbff2ed0a5bd393b15371c (patch)
treebce31623f228d6664280a518c7f42ff3537ec457
parent02b1d6881585badd537da030b49892b71832c28c (diff)
Fix typo found by Debian's Lintian
-rw-r--r--doc/manual-src/en/aria2c.rst2
-rw-r--r--src/DownloadEngine.cc2
-rw-r--r--src/usage_text.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst
index 50baa5f2..0cb21fac 100644
--- a/doc/manual-src/en/aria2c.rst
+++ b/doc/manual-src/en/aria2c.rst
@@ -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``
diff --git a/src/DownloadEngine.cc b/src/DownloadEngine.cc
index 2dfe08b8..8ebd34a4 100644
--- a/src/DownloadEngine.cc
+++ b/src/DownloadEngine.cc
@@ -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);
diff --git a/src/usage_text.h b/src/usage_text.h
index 5484f6e8..4a4bde97 100644
--- a/src/usage_text.h
+++ b/src/usage_text.h
@@ -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 \