From d5382cde171ada71cbe22682739bd911edee0558 Mon Sep 17 00:00:00 2001 From: Juha Niskanen Date: Mon, 5 Aug 2019 07:42:14 -0600 Subject: [PATCH] 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. --- net/udp/udp_psock_sendto_buffered.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/udp/udp_psock_sendto_buffered.c b/net/udp/udp_psock_sendto_buffered.c index 0705787db0..f95467a575 100644 --- a/net/udp/udp_psock_sendto_buffered.c +++ b/net/udp/udp_psock_sendto_buffered.c @@ -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);