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:
Juha Niskanen 2019-08-05 07:42:14 -06:00 committed by Gregory Nutt
parent e0205ff3cc
commit d5382cde17
1 changed files with 1 additions and 1 deletions

View File

@ -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);