clean a couple of messages

svn:r3401
This commit is contained in:
Nick Mathewson 2005-01-21 23:16:07 +00:00
parent 01cd23ef62
commit de9b46ad64
2 changed files with 3 additions and 3 deletions

View File

@ -969,7 +969,7 @@ directory_handle_command_post(connection_t *conn, char *headers,
if (!authdir_mode(get_options())) { if (!authdir_mode(get_options())) {
/* we just provide cached directories; we don't want to /* we just provide cached directories; we don't want to
* receive anything. */ * 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; return 0;
} }

View File

@ -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. */ /* We don't have a newer one; we'll update this one. */
log_fn(LOG_INFO,"Dirserv updating desc for nickname '%s'",ri->nickname); 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); free_descriptor_entry(ent);
smartlist_del_keeporder(descriptor_list, found); smartlist_del_keeporder(descriptor_list, found);
} else { } else {
/* Add at the end. */ /* Add at the end. */
log_fn(LOG_INFO,"Dirserv adding desc for nickname '%s'",ri->nickname); 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)); ent = tor_malloc(sizeof(descriptor_entry_t));