diff --git a/src/or/directory.c b/src/or/directory.c index b02ec7f6b1..8463c94e0a 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1196,7 +1196,7 @@ directory_handle_command_post(connection_t *conn, char *headers, log_fn(LOG_NOTICE,"Rejected descriptor published by %s.", origin); break; case 0: - write_http_status_line(conn, 200, msg?msg:"Server okay, but not accepted."); + write_http_status_line(conn, 200, msg?msg:"Server descriptor okay, but not accepted."); break; case 1: dirserv_get_directory(&cp, 0); /* rebuild and write to disk */ diff --git a/src/or/dirserv.c b/src/or/dirserv.c index a5521314bf..47483fc910 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -330,7 +330,7 @@ dirserv_wants_to_reject_router(routerinfo_t *ri, int *verified, * origin of this descriptor, or to NULL. * * Return 1 if descriptor is well-formed and accepted; - * 0 if well-formed and server is well-formed but rejected for timeliness. + * 0 if well-formed but redundant with one we already have; * -1 if it looks vaguely like a router descriptor but rejected; * -2 if we can't find a router descriptor in *desc. */