Skip to content
Snippets Groups Projects
Commit 99f5fcda authored by Andrew Webster's avatar Andrew Webster Committed by Gregory Nutt
Browse files

iTCP: use lowlevel syslog to avoid infinte recursion

If stdout is a socket (e.g. telnet), then the debug message will cause
more TCP data to be sent, which generates another message, and so on
parent 84d4cb00
No related branches found
No related tags found
No related merge requests found
...@@ -1054,9 +1054,9 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf, ...@@ -1054,9 +1054,9 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf,
*/ */
sq_addlast(&wrb->wb_node, &conn->write_q); sq_addlast(&wrb->wb_node, &conn->write_q);
nvdbg("Queued WRB=%p pktlen=%u write_q(%p,%p)\n", nllvdbg("Queued WRB=%p pktlen=%u write_q(%p,%p)\n",
wrb, WRB_PKTLEN(wrb), wrb, WRB_PKTLEN(wrb),
conn->write_q.head, conn->write_q.tail); conn->write_q.head, conn->write_q.tail);
/* Notify the device driver of the availability of TX data */ /* Notify the device driver of the availability of TX data */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment