diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-09 08:26:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-09 08:26:49 +0000 |
commit | 557d39be2a575c8a340ead48af2fc6e709d52a00 (patch) | |
tree | 5f0b3a62a1a0ff8eedf21d5f06ffab03dfac2785 /src/libnetdata/socket | |
parent | Releasing debian version 1.47.2-1. (diff) | |
download | netdata-557d39be2a575c8a340ead48af2fc6e709d52a00.tar.xz netdata-557d39be2a575c8a340ead48af2fc6e709d52a00.zip |
Merging upstream version 1.47.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/libnetdata/socket')
-rw-r--r-- | src/libnetdata/socket/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnetdata/socket/socket.c b/src/libnetdata/socket/socket.c index 85f67a2ba..f907fefeb 100644 --- a/src/libnetdata/socket/socket.c +++ b/src/libnetdata/socket/socket.c @@ -1196,7 +1196,7 @@ inline int wait_on_socket_or_cancel_with_timeout( .revents = 0, }; - bool forever = (timeout_ms == 0); + bool forever = (timeout_ms <= 0); while (timeout_ms > 0 || forever) { if(nd_thread_signaled_to_cancel()) { |