Don't read if we chunked the input data.

master
Christoph Lohmann 9 years ago
parent 9984ad4ba7
commit 0d838b7243

@ -1531,6 +1531,7 @@ ttywrite(const char *s, size_t n)
* This means the buffer is getting full * This means the buffer is getting full
* again. Empty it. * again. Empty it.
*/ */
if (n < 256)
ttyread(); ttyread();
n -= r; n -= r;
s += r; s += r;

Loading…
Cancel
Save