diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-13 23:00:05 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-13 23:00:05 +0000 |
commit | c9c8072bd305888af80b090c68d4fadf4c2a7208 (patch) | |
tree | 80086331f80f2d4e651af8ddd63b002ce827cc25 /src/or/buffers.c | |
parent | 43e06eba8baab0fec003841f2fe6baafbe506e39 (diff) | |
download | tor-c9c8072bd305888af80b090c68d4fadf4c2a7208.tar.gz tor-c9c8072bd305888af80b090c68d4fadf4c2a7208.zip |
r11569@Kushana: nickm | 2006-12-13 17:59:58 -0500
fix last fix
svn:r9106
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 aeca8b0ec3..cf25390b81 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -661,7 +661,7 @@ flush_buf_tls_impl(tor_tls_t *tls, buf_t *buf, size_t sz, size_t *buf_flushlen) size_t forced; forced = tor_tls_get_forced_write_size(tls); - if (forced < sz) + if (forced > sz) sz = forced; r = tor_tls_write(tls, buf->cur, sz); if (r < 0) { |