/[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.41 by likewise, Fri Apr 4 08:14:04 2003 UTC revision 1.42 by likewise, Fri Apr 11 12:56:13 2003 UTC
# Line 336  pbuf_alloc(pbuf_layer l, u16_t length, p Line 336  pbuf_alloc(pbuf_layer l, u16_t length, p
336      /* only allocate memory for the pbuf structure */      /* only allocate memory for the pbuf structure */
337      p = memp_mallocp(MEMP_PBUF);      p = memp_mallocp(MEMP_PBUF);
338      if (p == NULL) {      if (p == NULL) {
339        DEBUGF(PBUF_DEBUG | DBG_TRACE | 2, ("pbuf_alloc: Could not allocate MEMP_PBUF for PBUF_REF.\n"));        DEBUGF(PBUF_DEBUG | DBG_TRACE | 2, ("pbuf_alloc: Could not allocate MEMP_PBUF for PBUF_ROM/REF.\n"));
340        return NULL;        return NULL;
341      }      }
342      /* caller must set this field properly, afterwards */      /* caller must set this field properly, afterwards */

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

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