fix some logs and comments

svn:r4864
This commit is contained in:
Roger Dingledine 2005-08-26 21:55:38 +00:00
parent ae4a183ed8
commit 77f52e3467
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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.
*/