Sfoglia il codice sorgente

Fix typo found by Debian's Lintian

Tatsuhiro Tsujikawa 9 anni fa
parent
commit
d73dd9c372
3 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 1 1
      doc/manual-src/en/aria2c.rst
  2. 1 1
      src/DownloadEngine.cc
  3. 2 2
      src/usage_text.h

+ 1 - 1
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``

+ 1 - 1
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);

+ 2 - 2
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                            \