Parent Directory | Revision Log | Patch
revision 438 by jsorg71, Fri Aug 1 17:01:58 2003 UTC | revision 446 by matthewc, Mon Aug 18 04:52:51 2003 UTC | |
---|---|---|
# | Line 156 channel_process(STREAM s, uint16 mcs_cha | Line 156 channel_process(STREAM s, uint16 mcs_cha |
156 | in->p = in->data; | in->p = in->data; |
157 | } | } |
158 | ||
159 | thislength = s->end - s->p; | thislength = MIN(s->end - s->p, in->data + in->size - in->p); |
160 | memcpy(in->p, s->p, thislength); | memcpy(in->p, s->p, thislength); |
161 | s->p += thislength; | in->p += thislength; |
s->end += thislength; | ||
162 | ||
163 | if (flags & CHANNEL_FLAG_LAST) | if (flags & CHANNEL_FLAG_LAST) |
164 | { | { |
165 | in->end = in->p; | |
166 | in->p = in->data; | in->p = in->data; |
167 | channel->process(in); | channel->process(in); |
168 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |