mirror of
https://github.com/apache/nuttx.git
synced 2026-08-06 13:08:59 +00:00
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
This commit is contained in:
parent
84d4cb007b
commit
99f5fcda70
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
nvdbg("Queued WRB=%p pktlen=%u write_q(%p,%p)\n",
|
||||
wrb, WRB_PKTLEN(wrb),
|
||||
conn->write_q.head, conn->write_q.tail);
|
||||
nllvdbg("Queued WRB=%p pktlen=%u write_q(%p,%p)\n",
|
||||
wrb, WRB_PKTLEN(wrb),
|
||||
conn->write_q.head, conn->write_q.tail);
|
||||
|
||||
/* Notify the device driver of the availability of TX data */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue