diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-09-18 14:03:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-05-07 15:29:16 -0400 |
commit | 79e85313aa611b599f19fea61c38ff3928e1fd59 (patch) | |
tree | d6c25dae4999d42a33810134f49d7d650a25b2dc /src/or/buffers.c | |
parent | 3668a4126e0c2502a77c2ba5d7885add489a964a (diff) | |
download | tor-79e85313aa611b599f19fea61c38ff3928e1fd59.tar.gz tor-79e85313aa611b599f19fea61c38ff3928e1fd59.zip |
Write the outlines of a WritingTests.txt document
Also, add some sample tests to be examples.
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index ca0e815e33..6d1333844d 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -842,7 +842,7 @@ read_to_buf_tls(tor_tls_t *tls, size_t at_most, buf_t *buf) if (r < 0) return r; /* Error */ tor_assert(total_read+r < INT_MAX); - total_read += r; + total_read += r; if ((size_t)r < readlen) /* eof, block, or no more to read. */ break; } |