/[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.40.2.2 by likewise, Mon Apr 14 12:11:56 2003 UTC revision 1.40.2.3 by likewise, Mon Apr 14 14:33:47 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_%s.\n", flag == PBUF_ROM?"ROM":"REF"));
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.40.2.2  
changed lines
  Added in v.1.40.2.3

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