mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
r11569@Kushana: nickm | 2006-12-13 17:59:58 -0500
fix last fix svn:r9106
This commit is contained in:
parent
43e06eba8b
commit
c9c8072bd3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user