[FFmpeg-cvslog] r13844 - trunk/ffserver.c

bcoudurier subversion
Sat Jun 21 05:31:30 CEST 2008


Author: bcoudurier
Date: Sat Jun 21 05:31:30 2008
New Revision: 13844

Log:
log accept error

Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Sat Jun 21 05:31:30 2008
@@ -654,8 +654,10 @@ static void new_connection(int server_fd
     len = sizeof(from_addr);
     fd = accept(server_fd, (struct sockaddr *)&from_addr,
                 &len);
-    if (fd < 0)
+    if (fd < 0) {
+        http_log("error during accept %s\n", strerror(errno));
         return;
+    }
     ff_socket_nonblock(fd, 1);
 
     /* XXX: should output a warning page when coming




More information about the ffmpeg-cvslog mailing list