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

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

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

revision 1.11 by jani, Tue Jan 14 08:37:01 2003 UTC revision 1.12 by davidhaas, Thu Feb 6 22:18:56 2003 UTC
# Line 129  tcp_enqueue(struct tcp_pcb *pcb, void *a Line 129  tcp_enqueue(struct tcp_pcb *pcb, void *a
129    
130  #ifdef LWIP_DEBUG  #ifdef LWIP_DEBUG
131    if(pcb->snd_queuelen != 0) {    if(pcb->snd_queuelen != 0) {
132      ASSERT("tcp_enqueue: valid queue length", pcb->unacked != NULL ||      LWIP_ASSERT("tcp_enqueue: valid queue length", pcb->unacked != NULL ||
133      pcb->unsent != NULL);            pcb->unsent != NULL);      
134    }    }
135  #endif /* LWIP_DEBUG */  #endif /* LWIP_DEBUG */
# Line 310  tcp_enqueue(struct tcp_pcb *pcb, void *a Line 310  tcp_enqueue(struct tcp_pcb *pcb, void *a
310    DEBUGF(TCP_QLEN_DEBUG, ("tcp_enqueue: %d (after enqueued)\n", pcb->snd_queuelen));    DEBUGF(TCP_QLEN_DEBUG, ("tcp_enqueue: %d (after enqueued)\n", pcb->snd_queuelen));
311  #ifdef LWIP_DEBUG  #ifdef LWIP_DEBUG
312    if(pcb->snd_queuelen != 0) {    if(pcb->snd_queuelen != 0) {
313      ASSERT("tcp_enqueue: valid queue length", pcb->unacked != NULL ||      LWIP_ASSERT("tcp_enqueue: valid queue length", pcb->unacked != NULL ||
314        pcb->unsent != NULL);        pcb->unsent != NULL);
315    
316    }    }
# Line 333  tcp_enqueue(struct tcp_pcb *pcb, void *a Line 333  tcp_enqueue(struct tcp_pcb *pcb, void *a
333    }    }
334  #ifdef LWIP_DEBUG  #ifdef LWIP_DEBUG
335    if(pcb->snd_queuelen != 0) {    if(pcb->snd_queuelen != 0) {
336      ASSERT("tcp_enqueue: valid queue length", pcb->unacked != NULL ||      LWIP_ASSERT("tcp_enqueue: valid queue length", pcb->unacked != NULL ||
337        pcb->unsent != NULL);        pcb->unsent != NULL);
338    
339    }    }

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

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