diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2014-11-11 20:56:40 +0200 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2014-11-11 20:56:40 +0200 |
commit | a6520ed5379aa7cd29900eac11c483787f13d4df (patch) | |
tree | 28644164c6621d3f11705837e50b8ddceb0071a9 /src/or/routerlist.c | |
parent | f9d73eea9c2a17638ca55fc6fcc3a125c85c2619 (diff) | |
download | tor-a6520ed5379aa7cd29900eac11c483787f13d4df.tar.gz tor-a6520ed5379aa7cd29900eac11c483787f13d4df.zip |
Renaming ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN.
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index d81dae4676..81c3717c92 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -3376,7 +3376,7 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg, router_describe(router)); *msg = "Router descriptor was not new."; routerinfo_free(router); - return ROUTER_WAS_NOT_NEW; + return ROUTER_IS_ALREADY_KNOWN; } } @@ -3461,7 +3461,7 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg, &routerlist->desc_store); routerlist_insert_old(routerlist, router); *msg = "Router descriptor was not new."; - return ROUTER_WAS_NOT_NEW; + return ROUTER_IS_ALREADY_KNOWN; } else { /* Same key, and either new, or listed in the consensus. */ log_debug(LD_DIR, "Replacing entry for router %s", |