/[lwip]/lwip/src/core/pbuf.c
ViewVC logotype

Diff of /lwip/src/core/pbuf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.72 by softins, Tue Jul 27 16:08:05 2004 UTC revision 1.73 by kieranm, Wed Nov 24 17:03:03 2004 UTC
# Line 723  pbuf_queue(struct pbuf *p, struct pbuf * Line 723  pbuf_queue(struct pbuf *p, struct pbuf *
723    struct pbuf *q = p;    struct pbuf *q = p;
724  #endif  #endif
725    /* programmer stupidity checks */    /* programmer stupidity checks */
726    LWIP_ASSERT("p != NULL", p != NULL);    LWIP_ASSERT("p == NULL in pbuf_queue: this indicates a programmer error\n", p != NULL);
727    LWIP_ASSERT("n != NULL", n != NULL);    LWIP_ASSERT("n == NULL in pbuf_queue: this indicates a programmer error\n", n != NULL);
728    if ((p == NULL) || (n == NULL)) return;    LWIP_ASSERT("p == n in pbuf_queue: this indicates a programmer error\n", p != n);
729      if ((p == NULL) || (n == NULL) || (p == n)){
730        LWIP_ERRORF(PBUF_DEBUG | DBG_HALT | 3, ("pbuf_queue: programmer argument error\n"))
731        return;
732      }
733    
734    /* iterate through all packets on queue */    /* iterate through all packets on queue */
735    while (p->next != NULL) {    while (p->next != NULL) {

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26