You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Laurie <be...@algroup.co.uk> on 1998/01/04 17:49:13 UTC

Re: cvs commit: apachen/src/main http_log.c http_log.h

pcs@hyperreal.org wrote:
> 
> pcs         98/01/04 08:35:29
> 
>   Modified:    src/main http_log.c http_log.h
>   Log:
>   Fix removing errno from APLOG_WIN32ERROR error messages.
> 
>   Revision  Changes    Path
>   1.46      +5 -1      apachen/src/main/http_log.c
> 
>   Index: http_log.c
>   ===================================================================
>   RCS file: /export/home/cvs/apachen/src/main/http_log.c,v
>   retrieving revision 1.45
>   retrieving revision 1.46
>   diff -u -r1.45 -r1.46
>   --- http_log.c        1998/01/03 00:18:38     1.45
>   +++ http_log.c        1998/01/04 16:35:28     1.46
>   @@ -315,7 +315,11 @@
>         len += ap_snprintf(errstr + len, sizeof(errstr) - len,
>                 "%s(%d): ", file, line);
>        }
>   -    if (!(level & APLOG_NOERRNO)) {
>   +    if (!(level & APLOG_NOERRNO)
>   +#ifdef WIN32
>   +     && !(level && APLOG_WIN32ERROR)
                     ^^ oops! should be &

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Re: cvs commit: apachen/src/main http_log.c http_log.h

Posted by Paul Sutton <pa...@awe.com>.
On Sun, 4 Jan 1998, Ben Laurie wrote:
> pcs@hyperreal.org wrote:
> >   +#ifdef WIN32
> >   +     && !(level && APLOG_WIN32ERROR)
>                      ^^ oops! should be &

Doh! Thanks, fixed.

//pcs