]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Say 'Invalid argument' instead of unclear 'Unrecognized'
authorIvan Markin <twim@riseup.net>
Mon, 17 Oct 2016 20:10:39 +0000 (20:10 +0000)
committerNick Mathewson <nickm@torproject.org>
Wed, 19 Oct 2016 22:06:04 +0000 (18:06 -0400)
src/or/control.c

index a4f8e3713b48e444d733d3188627ea44d7fb94fb..92f1fc045bfa0a22525b825392d75fdd17a679d9 100644 (file)
@@ -4081,7 +4081,7 @@ handle_control_hsfetch(control_connection_t *conn, uint32_t len,
      * of the id. */
     desc_id = digest;
   } else {
-    connection_printf_to_buf(conn, "513 Unrecognized \"%s\"\r\n",
+    connection_printf_to_buf(conn, "513 Invalid argument \"%s\"\r\n",
                              arg1);
     goto done;
   }