summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-10-18 21:39:00 +0000
committerRoger Dingledine <arma@torproject.org>2005-10-18 21:39:00 +0000
commit102df4a9823020cd7e2da4a2d37466f6fb91cb36 (patch)
treedec10f99629844e808a9d2483d13aee88acbcfb8 /src
parente54efb16550a6d0a8d265eecd76f683cf7a72865 (diff)
downloadtor-102df4a9823020cd7e2da4a2d37466f6fb91cb36.tar.gz
tor-102df4a9823020cd7e2da4a2d37466f6fb91cb36.zip
fix some typos
svn:r5283
Diffstat (limited to 'src')
-rw-r--r--src/or/circuitlist.c3
-rw-r--r--src/or/main.c2
-rw-r--r--src/or/routerparse.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index f9dc99ac4d..a71ddd6f70 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -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;
diff --git a/src/or/main.c b/src/or/main.c
index 34ce2647ec..572b29537f 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -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);
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 721632c1c5..30276532b1 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -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")) {