[vlc-commits] httpd: remove stray vlc_object_waitpipe() call

Rémi Denis-Courmont git at videolan.org
Thu May 7 23:16:02 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri May  8 00:14:30 2015 +0300| [65940085a785a953ae9ab21471e45c4b7295afb5] | committer: Rémi Denis-Courmont

httpd: remove stray vlc_object_waitpipe() call

There is no actual usage of the waitpipe left in the HTTP server.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65940085a785a953ae9ab21471e45c4b7295afb5
---

 src/network/httpd.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/network/httpd.c b/src/network/httpd.c
index 94dec90..3d31da5 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -967,11 +967,6 @@ static httpd_host_t *httpd_HostCreate(vlc_object_t *p_this,
     }
     for (host->nfd = 0; host->fds[host->nfd] != -1; host->nfd++);
 
-    if (vlc_object_waitpipe(VLC_OBJECT(host)) == -1) {
-        msg_Err(host, "signaling pipe error: %s", vlc_strerror_c(errno));
-        goto error;
-    }
-
     host->port     = port;
     host->i_url    = 0;
     host->url      = NULL;



More information about the vlc-commits mailing list