aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-02-06 12:45:04 +0000
committerRoger Dingledine <arma@torproject.org>2008-02-06 12:45:04 +0000
commitbbcf406d9fe0c5a51f76e0adb37bf854091246c5 (patch)
tree33124660b7c7596c84aef1d297fb123fba15d2a4 /src/or/control.c
parente49d712b8a2a5e7fe75f6f229bc2ab6b175b82e4 (diff)
downloadtor-bbcf406d9fe0c5a51f76e0adb37bf854091246c5.tar.gz
tor-bbcf406d9fe0c5a51f76e0adb37bf854091246c5.zip
If the networkstatus consensus lists no recommended versions, don't
complain to the user and demand that they upgrade to one of "". svn:r13401
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c
index a8f10aa488..ff3a4b10ae 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1706,6 +1706,7 @@ getinfo_helper_events(control_connection_t *control_conn,
case VS_NEW: *answer = tor_strdup("new"); break;
case VS_NEW_IN_SERIES: *answer = tor_strdup("new in series"); break;
case VS_UNRECOMMENDED: *answer = tor_strdup("unrecommended"); break;
+ case VS_EMPTY: *answer = tor_strdup("none recommended"); break;
case VS_UNKNOWN: *answer = tor_strdup("unknown"); break;
default: tor_fragile_assert();
}