projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4befb9
)
log accept error
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Sat, 21 Jun 2008 03:31:30 +0000
(
03:31
+0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Sat, 21 Jun 2008 03:31:30 +0000
(
03:31
+0000)
Originally committed as revision 13844 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index 15b815f41ae6fefb2ef632406374c631cb06cc6c..92d7821cb1cf3b0099a44340a27ce0c4730801d8 100644
(file)
--- a/
ffserver.c
+++ b/
ffserver.c
@@
-654,8
+654,10
@@
static void new_connection(int server_fd, int is_rtsp)
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