ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/thttpd/libhttpd.c
(Generate patch)

Comparing thttpd/libhttpd.c (file contents):
Revision 1.1.4.5 by root, Mon Jul 2 18:52:37 2001 UTC vs.
Revision 1.1.4.6 by root, Sun Jul 8 08:22:33 2001 UTC

3685 3685
3686 if ( hc->hs->no_log ) 3686 if ( hc->hs->no_log )
3687 return; 3687 return;
3688 3688
3689 /* don't log UNKNOWN protocol requests (blocks etc..) */ 3689 /* don't log UNKNOWN protocol requests (blocks etc..) */
3690 if ( !strcmp (hc->protocol, "UNKNOWN") ) 3690 if ( hc->method == METHOD_UNKNOWN )
3691 return; 3691 return;
3692 3692
3693 /* This is straight CERN Combined Log Format - the only tweak 3693 /* This is straight CERN Combined Log Format - the only tweak
3694 ** being that if we're using syslog() we leave out the date, because 3694 ** being that if we're using syslog() we leave out the date, because
3695 ** syslogd puts it in. The included syslogtocern script turns the 3695 ** syslogd puts it in. The included syslogtocern script turns the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines