error searching

This commit is contained in:
Carl-Benedikt Krüger 2011-07-08 18:11:23 +02:00
parent ad919c459b
commit 0b58aa7e86
2 changed files with 3 additions and 3 deletions

View file

@ -757,7 +757,7 @@ err_t mmnif_tx(struct netif* netif, struct pbuf* p)
mmnif_write_rx_pending(dest_ip,pending);
/* and unlock the dest_ip mm_rx_buffer_hdr */
mmnif_unlock_rx_hdr(dest_ip);
// mmnif_unlock_rx_hdr(dest_ip);
/* check if there is a space in the queue without overwriting another packet */
if ((queued + pending) > MMNIF_RX_QUEUELEN)
@ -778,7 +778,7 @@ err_t mmnif_tx(struct netif* netif, struct pbuf* p)
mmnif_write_rx_buffl(dest_ip, pos, p->payload,p->tot_len);
/* like above ensure we are the only ones editing the hdr */
mmnif_lock_rx_hdr(dest_ip);
// mmnif_lock_rx_hdr(dest_ip);
queued = mmnif_read_rx_queue(dest_ip);
pending = mmnif_read_rx_pending(dest_ip);

View file

@ -256,7 +256,7 @@ void* client_task(void* e)
return;
}
setsockopt( sd, IPPROTO_TCP, TCP_NODELAY, (char *) &on, sizeof( on));
// setsockopt( sd, IPPROTO_TCP, TCP_NODELAY, (char *) &on, sizeof( on));
kprintf("connecting with socket nr : %d",sd);
/* connect to PORT on HOST */