since the Dawn O' Time, and consisted of me putting the two halves
of a short-circuiting bounds check the wrong way round: instead of
`p_in_range && *p', I had `*p && p_in_range'. Oops. valgrind rocks.
[originally from svn r2174]
while (p < buf + len) {
char *q = p;
- while (iswritable((unsigned char) *p) && p < buf + len)
+ while (p < buf + len && iswritable((unsigned char) *p))
p++;
telnet->bufsize = sk_write(telnet->s, q, p - q);