Commit 6ed3393f 6ed3393f0602626b2b15faa3e4f9181568053ee0 by Sergey Poznyakoff

(trans_read): Bugfix. Do not break the

loop if there are characters left in the buffer.
1 parent 0bdd8432
......@@ -147,7 +147,7 @@ trans_read (mu_filter_t filter, char *optr, size_t osize, mu_off_t offset,
}
ts->s_offset = i;
}
if (wbytes == 0 && ts->s_offset == 0)
if (wbytes == 0 && ts->w_whd - ts->w_rhd == 0)
break;
}
return ret;
......