[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Say 'Invalid argument' instead of unclear 'Unrecognized'
commit e77033e9eee4d40b258e3702e3f4a44fc7f1d436
Author: Ivan Markin <twim@xxxxxxxxxx>
Date: Mon Oct 17 20:10:39 2016 +0000
Say 'Invalid argument' instead of unclear 'Unrecognized'
---
src/or/control.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/control.c b/src/or/control.c
index a4f8e37..92f1fc0 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -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;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits