From cdebe937a1f1fc0cd7b0a25a7527a18689ce95a2 Mon Sep 17 00:00:00 2001 From: Lasse Rosenow <10547444+LasseRosenow@users.noreply.github.com> Date: Tue, 10 Dec 2024 20:52:28 +0100 Subject: [PATCH] Update src/platform/posix/tcp_ip_channel.c Co-authored-by: erling --- src/platform/posix/tcp_ip_channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/posix/tcp_ip_channel.c b/src/platform/posix/tcp_ip_channel.c index bc9d76fe..64365bf7 100644 --- a/src/platform/posix/tcp_ip_channel.c +++ b/src/platform/posix/tcp_ip_channel.c @@ -84,6 +84,7 @@ static lf_ret_t _TcpIpChannel_reset_socket(TcpIpChannel *self) { self->send_failed_event_fds = eventfd(0, EFD_NONBLOCK); if (self->send_failed_event_fds == -1) { TCP_IP_CHANNEL_ERR("Failed to initialize event file descriptor"); + return LF_ERR; } return LF_OK;