Commit 681637ab authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Add an error message

parent e59bea7b
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
#else #else
# include <io.h> # include <io.h>
# include <fcntl.h> # include <fcntl.h>
# include <errno.h> /* ENOSYS */
#endif #endif
/***************************************************************************** /*****************************************************************************
...@@ -493,6 +494,8 @@ int vlc_object_waitpipe( vlc_object_t *obj ) ...@@ -493,6 +494,8 @@ int vlc_object_waitpipe( vlc_object_t *obj )
#ifndef WIN32 #ifndef WIN32
if( pipe( pipes ) ) if( pipe( pipes ) )
#else
errno = ENOSYS;
#endif #endif
return -1; return -1;
} }
......
...@@ -1071,6 +1071,7 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname, ...@@ -1071,6 +1071,7 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
vlc_object_lock( host ); vlc_object_lock( host );
if( vlc_object_waitpipe( VLC_OBJECT( host ) ) == -1 ) if( vlc_object_waitpipe( VLC_OBJECT( host ) ) == -1 )
{ {
msg_Err( host, "signaling pipe error: %m")
vlc_object_unlock( host ); vlc_object_unlock( host );
goto error; goto error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment