summaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-07 15:29:56 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-07 15:29:56 -0400
commite086db795238da9187aa9824fda3d708cff10bf6 (patch)
tree13dc823d24ea89a6fbf47c92994b8fa997887a53 /src/or/buffers.c
parenta2a6a19db165dd08b2dd6e7e493f21d2336a85d0 (diff)
parent79e85313aa611b599f19fea61c38ff3928e1fd59 (diff)
downloadtor-e086db795238da9187aa9824fda3d708cff10bf6.tar.gz
tor-e086db795238da9187aa9824fda3d708cff10bf6.zip
Merge branch 'writing_tests'
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 8ef3279fde..2d7dd937d8 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -615,7 +615,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;
}