Parent Directory | Revision Log | Patch
revision 1.27.2.6 by likewise, Fri Nov 14 09:42:51 2003 UTC | revision 1.27.2.7 by jani, Fri Nov 14 12:20:27 2003 UTC | |
---|---|---|
# | Line 154 tcp_enqueue(struct tcp_pcb *pcb, void *a | Line 154 tcp_enqueue(struct tcp_pcb *pcb, void *a |
154 | seg->p = NULL; | seg->p = NULL; |
155 | ||
156 | if (queue == NULL) { | if (queue == NULL) { |
157 | queue = seg; | useg = queue = seg; |
158 | } | } |
159 | else { | else { |
160 | /* Attach the segment to the end of the queued segments. */ | /* Attach the segment to the end of the queued segments. */ |
for (useg = queue; useg->next != NULL; useg = useg->next); | ||
161 | useg->next = seg; | useg->next = seg; |
162 | useg = seg; | |
163 | } | } |
164 | ||
165 | /* If copy is set, memory should be allocated | /* If copy is set, memory should be allocated |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |