/[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.8 by jani, Wed Dec 18 12:49:02 2002 UTC revision 1.9 by jani, Thu Dec 19 09:04:58 2002 UTC
# Line 445  pbuf_header(struct pbuf *p, s16_t header Line 445  pbuf_header(struct pbuf *p, s16_t header
445    }    }
446        
447    payload = p->payload;    payload = p->payload;
448    p->payload = (u8_t *)p->payload - header_size/sizeof(u8_t);    p->payload = (u8_t *)p->payload - header_size;
449    
450    DEBUGF(PBUF_DEBUG, ("pbuf_header: old %p new %p (%d)\n", payload, p->payload, header_size));    DEBUGF(PBUF_DEBUG, ("pbuf_header: old %p new %p (%d)\n", payload, p->payload, header_size));
451        

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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