aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2013-08-23 21:43:57 -0400
committerRoger Dingledine <arma@torproject.org>2013-08-23 21:43:57 -0400
commit0fd8f5781b8535c1735d9f984ff833a3024ddc95 (patch)
tree8adff3ea41474d39c132debee601f50178afba3e /src/or/onion.c
parent223c7da080713691531817bbf8b61589aa0a67ff (diff)
downloadtor-0fd8f5781b8535c1735d9f984ff833a3024ddc95.tar
tor-0fd8f5781b8535c1735d9f984ff833a3024ddc95.tar.gz
fix typos
Diffstat (limited to 'src/or/onion.c')
-rw-r--r--src/or/onion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/onion.c b/src/or/onion.c
index 5542854cf..1c35b59af 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -50,7 +50,7 @@ static void onion_queue_entry_remove(onion_queue_t *victim);
* MAX_ONIONSKIN_CHALLENGE/REPLY_LEN." Also, make sure that we can pass
* over-large values via EXTEND2/EXTENDED2, for future-compatibility.*/
-/** Return true iff we have room to queue another oninoskin of type
+/** Return true iff we have room to queue another onionskin of type
* <b>type</b>. */
static int
have_room_for_onionskin(uint16_t type)
@@ -727,7 +727,7 @@ extend_cell_parse(extend_cell_t *cell_out, const uint8_t command,
cell_out->cell_type = RELAY_COMMAND_EXTEND2;
++payload;
/* Parse the specifiers. We'll only take the first IPv4 and first IPv6
- * addres, and the node ID, and ignore everything else */
+ * address, and the node ID, and ignore everything else */
for (i = 0; i < n_specs; ++i) {
if (eop - payload < 2)
return -1;