mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
clean a couple of messages
svn:r3401
This commit is contained in:
parent
01cd23ef62
commit
de9b46ad64
@ -969,7 +969,7 @@ directory_handle_command_post(connection_t *conn, char *headers,
|
||||
if (!authdir_mode(get_options())) {
|
||||
/* we just provide cached directories; we don't want to
|
||||
* receive anything. */
|
||||
write_http_status_line(conn, 400, "Nonauthoritative directory does not not store server descriptors");
|
||||
write_http_status_line(conn, 400, "Nonauthoritative directory does not not store server descriptors.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -420,13 +420,13 @@ dirserv_add_descriptor(const char **desc, const char **msg)
|
||||
}
|
||||
/* We don't have a newer one; we'll update this one. */
|
||||
log_fn(LOG_INFO,"Dirserv updating desc for nickname '%s'",ri->nickname);
|
||||
*msg = verified?"Verified server updated":"Unverified server updated (Have you sent us your key fingerprint?)";
|
||||
*msg = verified?"Verified server updated":"Unverified server updated. (Have you sent us your key fingerprint?)";
|
||||
free_descriptor_entry(ent);
|
||||
smartlist_del_keeporder(descriptor_list, found);
|
||||
} else {
|
||||
/* Add at the end. */
|
||||
log_fn(LOG_INFO,"Dirserv adding desc for nickname '%s'",ri->nickname);
|
||||
*msg = verified?"Verified server added":"Unverified server added (Have you sent us your key fingerprint?)";
|
||||
*msg = verified?"Verified server added":"Unverified server added. (Have you sent us your key fingerprint?)";
|
||||
}
|
||||
|
||||
ent = tor_malloc(sizeof(descriptor_entry_t));
|
||||
|
Loading…
Reference in New Issue
Block a user