Fix SNDR thread startup (#20740)
Fix start sernder
Stelios Fragkakis committed
Jul 30, 2025 at 11:09 UTC
96c1962d6f317cb796544df17b2417285c22aace
1 file changed
+2
-1
src/streaming/stream-sender-api.c
+2
-1
@@ -108,7 +108,8 @@ void stream_sender_start_host(struct rrdhost *host) {
108
void stream_sender_start_localhost(void *ptr __maybe_unused)
109
{
110
if (!localhost)
111
- return stream_sender_start_host(localhost);
111
+ return;
112
+ stream_sender_start_host(localhost);
113
}
114
115
// Either the receiver lost the connection or the host is being destroyed.