summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 4a5b1f7e08..16625d99c2 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -226,7 +226,7 @@ dirserv_router_get_status(const routerinfo_t *router, const char **msg)
if (crypto_pk_get_fingerprint(router->identity_pkey, fingerprint, 0)) {
log_warn(LD_BUG,"Error computing fingerprint");
- return -1;
+ return FP_REJECT;
}
return dirserv_get_status_impl(fingerprint, router->nickname,