summaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2017-05-10 20:03:07 -0400
committerRoger Dingledine <arma@torproject.org>2017-05-10 20:03:07 -0400
commit8f1ddf0cd2b10f75d895c8d55bae6c2cbd60c050 (patch)
tree8cd1069e3605baa06ce0a2a88f97fa15c0c3fb2c /src/or/routerlist.h
parent466e27feaebf0bb7a1c906b733a0da2328b21330 (diff)
downloadtor-8f1ddf0cd2b10f75d895c8d55bae6c2cbd60c050.tar.gz
tor-8f1ddf0cd2b10f75d895c8d55bae6c2cbd60c050.zip
Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value
We already have a way to return a 400 response code along with a personalized message response for the uploader. Resolves ticket 22213.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 25b2f64350..e0ed4e623a 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -124,7 +124,7 @@ static int WRA_NEVER_DOWNLOADABLE(was_router_added_t s);
*/
static inline int
WRA_WAS_ADDED(was_router_added_t s) {
- return s == ROUTER_ADDED_SUCCESSFULLY || s == ROUTER_ADDED_NOTIFY_GENERATOR;
+ return s == ROUTER_ADDED_SUCCESSFULLY;
}
/** Return true iff the outcome code in <b>s</b> indicates that the descriptor
* was not added because it was either: