commit 0050e8c6da213fb7110fea3ecd46f4b8dcc5615f Author: Linus Nordberg linus@nordberg.se Date: Thu Mar 28 00:13:58 2019 +0100
Fix doc typos. --- doc/trunnel.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/trunnel.md b/doc/trunnel.md index 744e202..e5d50ac 100644 --- a/doc/trunnel.md +++ b/doc/trunnel.md @@ -283,7 +283,7 @@ that array's length field doesn't match its actual length.
### Structure members: zero-length indices into the input
-Sometimes you need to record the position in the input the corresponds to +Sometimes you need to record the position in the input that corresponds to a position in the structure. You can use an `@ptr` field to record a position within a structure when parsing it:
@@ -686,7 +686,7 @@ functions. For example, if you say: u16 items[len.len]; }
-Then trunnel will generate those functions with the protptypes: +Then trunnel will generate those functions with the prototypes:
ssize_t msg_encode(uint8_t *buf, size_t buf_len, msg_t *obj, const len_t *len_ctx);
tor-commits@lists.torproject.org