mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
fix some logs and comments
svn:r4864
This commit is contained in:
parent
ae4a183ed8
commit
77f52e3467
@ -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 */
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user