http_log("%s - - [%s] \"%s %s %s\" %d %lld %s\n", buf1, buf2, c->method, c->url, c->protocol, (c->http_error ? c->http_error : 200), c->data_count, c->stream ? c->stream->filename : "");
http_log("%s - - [%s] \"%s %s %s\" %d %lld\n", buf1, buf2, c->method, c->url, c->protocol, (c->http_error ? c->http_error : 200), c->data_count);
static void log_connection(HTTPContext *c){    char buf1[32], buf2[32], *p;    time_t ti;    if (c->suppress_log)         return;    /* XXX: reentrant function ? */    p = inet_ntoa(c->from_addr.sin_addr);    strcpy(buf1, p);    ti = time(NULL);    p = ctime(&ti);    strcpy(buf2, p);    p = buf2 + strlen(p) - 1;    if (*p == '\n')        *p = '\0';    http_log("%s - - [%s] \"%s %s %s\" %d %lld %s\n",              buf1, buf2, c->method, c->url, c->protocol, (c->http_error ? c->http_error : 200), c->data_count,             c->stream ? c->stream->filename : "");}