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

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

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

revision 1.3 by likewise, Thu Nov 21 10:32:19 2002 UTC revision 1.4 by jani, Wed Dec 18 10:40:01 2002 UTC
# Line 450  udp_new(void) { Line 450  udp_new(void) {
450    struct udp_pcb *pcb;    struct udp_pcb *pcb;
451    pcb = memp_malloc(MEMP_UDP_PCB);    pcb = memp_malloc(MEMP_UDP_PCB);
452    if(pcb != NULL) {    if(pcb != NULL) {
453      bzero(pcb, sizeof(struct udp_pcb));      memset(pcb, 0, sizeof(struct udp_pcb));
454      return pcb;      return pcb;
455    }    }
456    return NULL;    return NULL;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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