[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Improve error msg on failed getinfo fingerprint
commit 2e34416c6db20156619e80975e46c8b1030bb3a1
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu Jul 14 17:19:52 2011 -0400
Improve error msg on failed getinfo fingerprint
---
src/or/control.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/control.c b/src/or/control.c
index d33d337..954da65 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1396,7 +1396,7 @@ getinfo_helper_misc(control_connection_t *conn, const char *question,
} else if (!strcmp(question, "fingerprint")) {
crypto_pk_env_t *server_key;
if (!server_mode(get_options())) {
- *errmsg = "No routerdesc known; am I really a server?";
+ *errmsg = "Not running in server mode";
return -1;
}
server_key = get_server_identity_key();
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits