Commit 4dc8a18c authored by bcoudurier's avatar bcoudurier

log accept error

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13844 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 28b9d8ba
......@@ -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
......
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