aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-22 01:13:33 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-22 01:13:33 +0000
commit82e0be62ef65856131ae7774554a64565d2fc762 (patch)
treeda623fe3156d96d84edb91bc6cbf65010418d253 /ffserver.c
parent9fd3442f632e7144249305ebcc120d245d03a916 (diff)
downloadffmpeg-82e0be62ef65856131ae7774554a64565d2fc762.tar.gz
no need to print date anymore since done in http_log
Originally committed as revision 13865 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ffserver.c b/ffserver.c
index 0ed20e4012..4679166347 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -339,14 +339,11 @@ static void __attribute__ ((format (printf, 1, 2))) http_log(const char *fmt, ..
static void log_connection(HTTPContext *c)
{
- char buf2[32];
-
if (c->suppress_log)
return;
- http_log("%s - - [%s] \"%s %s %s\" %d %"PRId64"\n",
- inet_ntoa(c->from_addr.sin_addr),
- ctime1(buf2), c->method, c->url,
+ http_log("%s - - [%s] \"%s %s\" %d %"PRId64"\n",
+ inet_ntoa(c->from_addr.sin_addr), c->method, c->url,
c->protocol, (c->http_error ? c->http_error : 200), c->data_count);
}