mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
net/udp/udp_psock_sendto_buffered.c: Fixes a copy-paste error in the new SO_LINGER code: CONFIG_TCP_NOTIFIER to CONFIG_UDP_NOTIFIER.
This commit is contained in:
committed by
Gregory Nutt
parent
e0205ff3cc
commit
d5382cde17
@@ -168,7 +168,7 @@ static void sendto_writebuffer_release(FAR struct socket *psock,
|
||||
psock->s_sndcb->event = NULL;
|
||||
wrb = NULL;
|
||||
|
||||
#ifdef CONFIG_TCP_NOTIFIER
|
||||
#ifdef CONFIG_UDP_NOTIFIER
|
||||
/* Notify any waiters that the write buffers have been drained. */
|
||||
|
||||
udp_writebuffer_signal(conn);
|
||||
|
||||
Reference in New Issue
Block a user