Parent Directory | Revision Log | Patch
revision 1.1 by likewise, Tue Oct 22 12:32:58 2002 UTC | revision 1.2 by adamdunkels, Wed Oct 23 19:58:16 2002 UTC | |
---|---|---|
# | Line 926 tcp_receive(struct tcp_pcb *pcb) | Line 926 tcp_receive(struct tcp_pcb *pcb) |
926 | if(cseg->p->tot_len > 0) { | if(cseg->p->tot_len > 0) { |
927 | /* Chain this pbuf onto the pbuf that we will pass to | /* Chain this pbuf onto the pbuf that we will pass to |
928 | the application. */ | the application. */ |
929 | if(pcb->recv_data) { | if(recv_data) { |
930 | pbuf_chain(pcb->recv_data, cseg->p); | pbuf_chain(recv_data, cseg->p); |
931 | } else { | } else { |
932 | pcb->recv_data = cseg->p; | recv_data = cseg->p; |
933 | } | } |
934 | cseg->p = NULL; | cseg->p = NULL; |
935 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |