/[mailutils]/mailutils/mailbox/filter_trans.c
ViewVC logotype

Diff of /mailutils/mailbox/filter_trans.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by alainm, Wed May 30 21:08:34 2001 UTC revision 1.3 by gray, Thu Feb 7 07:58:55 2002 UTC
# Line 161  trans_read (filter_t filter, char *optr, Line 161  trans_read (filter_t filter, char *optr,
161            ret = stream_read (filter->stream, ts->w_buf + ts->w_whd,            ret = stream_read (filter->stream, ts->w_buf + ts->w_whd,
162                               MU_TRANS_BSIZE - ts->w_whd, ts->offset,                               MU_TRANS_BSIZE - ts->w_whd, ts->offset,
163                               &wbytes );                               &wbytes );
164            if (ret != 0)            if (ret != 0 || wbytes == 0)
165              break;              break;
166            ts->offset += wbytes;            ts->offset += wbytes;
167            ts->w_whd += wbytes;            ts->w_whd += wbytes;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26