]> git.sesse.net Git - vlc/commitdiff
Add an error message
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 22 Dec 2007 15:53:38 +0000 (15:53 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 22 Dec 2007 15:53:38 +0000 (15:53 +0000)
src/misc/objects.c
src/network/httpd.c

index 98a4062018c9fbb7015bcc58feff05addae9420a..734cb3502ad6343d2b8b23709998146f35b5f30c 100644 (file)
@@ -64,6 +64,7 @@
 #else
 # include <io.h>
 # include <fcntl.h>
+# include <errno.h> /* ENOSYS */
 #endif
 
 /*****************************************************************************
@@ -493,6 +494,8 @@ int vlc_object_waitpipe( vlc_object_t *obj )
 
 #ifndef WIN32
         if( pipe( pipes ) )
+#else
+        errno = ENOSYS;
 #endif
             return -1;
     }
index 1339b2e6174ab46c3eb3e2efc9d970bea8d89ac9..0bd6bb92747f8bf506d72ef1c8a3e9711a922460 100644 (file)
@@ -1071,6 +1071,7 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
     vlc_object_lock( host );
     if( vlc_object_waitpipe( VLC_OBJECT( host ) ) == -1 )
     {
+        msg_Err( host, "signaling pipe error: %m")
         vlc_object_unlock( host );
         goto error;
     }