From d73dd9c3729acb2545cbff2ed0a5bd393b15371c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 3 Sep 2016 22:46:10 +0900 Subject: [PATCH] Fix typo found by Debian's Lintian --- doc/manual-src/en/aria2c.rst | 2 +- src/DownloadEngine.cc | 2 +- src/usage_text.h | 4 ++-- 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= - 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 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 \