mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
fix some typos
svn:r5283
This commit is contained in:
parent
e54efb1655
commit
102df4a982
@ -201,7 +201,8 @@ circuit_new(uint16_t p_circ_id, connection_t *p_conn)
|
|||||||
{
|
{
|
||||||
circuit_t *circ;
|
circuit_t *circ;
|
||||||
static uint32_t n_circuits_allocated = 1;
|
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 = tor_malloc_zero(sizeof(circuit_t));
|
||||||
circ->magic = CIRCUIT_MAGIC;
|
circ->magic = CIRCUIT_MAGIC;
|
||||||
|
@ -587,7 +587,7 @@ run_connection_housekeeping(int i, time_t now)
|
|||||||
* parsing partial serverdesc responses. */
|
* parsing partial serverdesc responses. */
|
||||||
if (conn->purpose == DIR_PURPOSE_FETCH_SERVERDESC &&
|
if (conn->purpose == DIR_PURPOSE_FETCH_SERVERDESC &&
|
||||||
buf_datalen(conn->inbuf)>=1024) {
|
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_dir_reached_eof(conn);
|
||||||
}
|
}
|
||||||
connection_mark_for_close(conn);
|
connection_mark_for_close(conn);
|
||||||
|
@ -670,7 +670,7 @@ router_parse_list_from_string(const char **s, smartlist_t *dest)
|
|||||||
|
|
||||||
while (cp > *s && *cp != '\n')
|
while (cp > *s && *cp != '\n')
|
||||||
--cp;
|
--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 */
|
* descriptor */
|
||||||
|
|
||||||
if (strcmpstart(cp, "\n-----END SIGNATURE-----\n")) {
|
if (strcmpstart(cp, "\n-----END SIGNATURE-----\n")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user