aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-15 22:10:03 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-15 22:10:03 +0000
commit6b5fc9d46f84b6f7d55f07c3e68561b0e1103d44 (patch)
tree7d59895c3d79024dd79c4c7eebc73a485f4679c9 /src
parent0f013a6502d77fe347b88b721755e77794901233 (diff)
downloadtor-6b5fc9d46f84b6f7d55f07c3e68561b0e1103d44.tar.gz
tor-6b5fc9d46f84b6f7d55f07c3e68561b0e1103d44.zip
Instead of "Network down", say "Is your network connection down?"
svn:r5607
Diffstat (limited to 'src')
-rw-r--r--src/or/main.c3
-rw-r--r--src/or/routerlist.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 77c9820d1b..f5353c8056 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -513,7 +513,8 @@ directory_all_unreachable(time_t now)
while ((conn = connection_get_by_type_state(CONN_TYPE_AP,
AP_CONN_STATE_CIRCUIT_WAIT))) {
- notice(LD_NET,"Network down? Failing connection to '%s:%d'.",
+ notice(LD_NET,
+ "Is your network connection down? Failing connection to '%s:%d'.",
safe_str(conn->socks_request->address), conn->socks_request->port);
connection_mark_unattached_ap(conn, END_STREAM_REASON_NET_UNREACHABLE);
}
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 04359f5e1e..5c9d9b2307 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3343,7 +3343,8 @@ router_have_minimum_dir_info(void)
if (!res && have_enough) {
log(LOG_NOTICE, LD_DIR,"Our directory information is no longer up-to-date "
"enough to build circuits.%s",
- any_running ? "" : " (All servers seem down -- network down?)");
+ any_running ? "" :
+ " (No servers seem reachable -- is your network connection down?)");
}
have_enough = res;
return res;