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

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

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

revision 1.10 by likewise, Wed Jan 8 10:09:42 2003 UTC revision 1.11 by likewise, Wed Jan 8 15:37:20 2003 UTC
# Line 312  tcp_listen(struct tcp_pcb *pcb) Line 312  tcp_listen(struct tcp_pcb *pcb)
312  #if LWIP_CALLBACK_API  #if LWIP_CALLBACK_API
313    lpcb->accept = tcp_accept_null;    lpcb->accept = tcp_accept_null;
314  #endif /* LWIP_CALLBACK_API */  #endif /* LWIP_CALLBACK_API */
315  /* workaround for compile error: assignment requires modifiable lvalue in TCP_REG */    TCP_REG(&tcp_listen_pcbs, lpcb);
 #if LWIP_TCP_REG_COMPILE_ERROR  
   /* place this pcb at the start the "listening pcbs" list */  
   lpcb->next = tcp_listen_pcbs;  
   tcp_listen_pcbs = lpcb;  
 #else  
   TCP_REG((struct tcp_pcb **)&tcp_listen_pcbs, (struct tcp_pcb *)lpcb);  
 #endif  
316    return (struct tcp_pcb *)lpcb;    return (struct tcp_pcb *)lpcb;
317  }  }
318  /*-----------------------------------------------------------------------------------*/  /*-----------------------------------------------------------------------------------*/

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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