This commit is contained in:
jani 2003-11-18 14:44:48 +00:00
parent 9a2732e9eb
commit d1d7752e63

View File

@ -655,7 +655,7 @@ pbuf_cat(struct pbuf *h, struct pbuf *t)
LWIP_ASSERT("h != NULL", h != NULL); LWIP_ASSERT("h != NULL", h != NULL);
LWIP_ASSERT("t != NULL", t != NULL); LWIP_ASSERT("t != NULL", t != NULL);
if ((h = NULL) || (t == NULL)) return; if ((h == NULL) || (t == NULL)) return;
/* proceed to last pbuf of chain */ /* proceed to last pbuf of chain */
for (p = h; p->next != NULL; p = p->next) { for (p = h; p->next != NULL; p = p->next) {