fix some typos

svn:r5283
This commit is contained in:
Roger Dingledine 2005-10-18 21:39:00 +00:00
parent e54efb1655
commit 102df4a982
3 changed files with 4 additions and 3 deletions

View File

@ -201,7 +201,8 @@ circuit_new(uint16_t p_circ_id, connection_t *p_conn)
{
circuit_t *circ;
static uint32_t n_circuits_allocated = 1;
/* never zero, since a global ID of 0 is treated specially by the controller */
/* never zero, since a global ID of 0 is treated specially by the
* controller */
circ = tor_malloc_zero(sizeof(circuit_t));
circ->magic = CIRCUIT_MAGIC;

View File

@ -587,7 +587,7 @@ run_connection_housekeeping(int i, time_t now)
* parsing partial serverdesc responses. */
if (conn->purpose == DIR_PURPOSE_FETCH_SERVERDESC &&
buf_datalen(conn->inbuf)>=1024) {
log_fn(LOG_INFO,"Trying to extract information from wedged server desc downoad");
log_fn(LOG_INFO,"Trying to extract information from wedged server desc download.");
connection_dir_reached_eof(conn);
}
connection_mark_for_close(conn);

View File

@ -670,7 +670,7 @@ router_parse_list_from_string(const char **s, smartlist_t *dest)
while (cp > *s && *cp != '\n')
--cp;
/* cp now points to the first \n before the last non-bank line in this
/* cp now points to the first \n before the last non-blank line in this
* descriptor */
if (strcmpstart(cp, "\n-----END SIGNATURE-----\n")) {