From a2dffd430b0d378e14175178591820bec0db26e1 Mon Sep 17 00:00:00 2001 From: fbernon Date: Fri, 13 Jul 2007 13:12:07 +0000 Subject: [PATCH] Fix minor patch #5741 build error... --- src/core/tcp_in.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/tcp_in.c b/src/core/tcp_in.c index 38c39743..8b6e3ce1 100644 --- a/src/core/tcp_in.c +++ b/src/core/tcp_in.c @@ -1116,10 +1116,10 @@ tcp_receive(struct tcp_pcb *pcb) tcp_seg_free(next); if (cseg->next != NULL) { next = cseg->next; - if (TCP_SEQ_GT(seqno + cseg.len, next->tcphdr->seqno)) { + if (TCP_SEQ_GT(seqno + cseg->len, next->tcphdr->seqno)) { /* We need to trim the incoming segment. */ - cseg.len = next->tcphdr->seqno - seqno; - pbuf_realloc(cseg.p, cseg.len); + cseg->len = next->tcphdr->seqno - seqno; + pbuf_realloc(cseg->p, cseg->len); } } break;