From: Luis Alves Date: Sun, 9 Dec 2018 11:19:05 +0000 (+0000) Subject: htsp_server: init htsp_out_mutex X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c8a40f663eb0407498b3f0c05a5ed7246624728;p=thirdparty%2Ftvheadend.git htsp_server: init htsp_out_mutex --- diff --git a/src/htsp_server.c b/src/htsp_server.c index 04b04c3c2..49af61b17 100644 --- a/src/htsp_server.c +++ b/src/htsp_server.c @@ -3420,6 +3420,8 @@ htsp_serve(int fd, void **opaque, struct sockaddr_storage *source, htsp.htsp_peer = source; htsp.htsp_writer_run = 1; + tvh_mutex_init(&htsp.htsp_out_mutex, NULL); + LIST_INSERT_HEAD(&htsp_connections, &htsp, htsp_link); tvh_mutex_unlock(&global_lock);