/[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.44 by likewise, Mon Apr 14 11:37:12 2003 UTC revision 1.45 by likewise, Tue Apr 15 12:38:48 2003 UTC
# Line 303  pbuf_alloc(pbuf_layer l, u16_t length, p Line 303  pbuf_alloc(pbuf_layer l, u16_t length, p
303      /* only allocate memory for the pbuf structure */      /* only allocate memory for the pbuf structure */
304      p = memp_mallocp(MEMP_PBUF);      p = memp_mallocp(MEMP_PBUF);
305      if (p == NULL) {      if (p == NULL) {
306        DEBUGF(PBUF_DEBUG | DBG_TRACE | 2, ("pbuf_alloc: Could not allocate MEMP_PBUF for PBUF_ROM/REF.\n"));        DEBUGF(PBUF_DEBUG | DBG_TRACE | 2, ("pbuf_alloc: Could not allocate MEMP_PBUF for PBUF_%s.\n", flag == PBUF_ROM?"ROM":"REF"));
307        return NULL;        return NULL;
308      }      }
309      /* caller must set this field properly, afterwards */      /* caller must set this field properly, afterwards */

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

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