httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: httpd-2.0/server protocol.c
Date Wed, 30 Jan 2002 02:34:20 GMT
jerenkrantz@apache.org writes:

> jerenkrantz    02/01/29 18:06:09
> 
>   Modified:    server   protocol.c
>   Log:
>   Simplify the exit paths of ap_rgetline by creating a second brigade for
>   use when we do AP_MODE_SPECULATIVE.  This allows us to delete the
>   brigades earlier.
>   
>   (In practice, it really doesn't matter if we delete the brigade or not
>   since it will be destroyed when it's pool is destroyed, but we'll try
>   to be nice.)
>   
>   Revision  Changes    Path
>   1.76      +25 -13    httpd-2.0/server/protocol.c
>   
>   Index: protocol.c
>   ===================================================================
>   RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
>   retrieving revision 1.75
>   retrieving revision 1.76
>   diff -u -r1.75 -r1.76
>   --- protocol.c	27 Jan 2002 19:24:20 -0000	1.75
>   +++ protocol.c	30 Jan 2002 02:06:09 -0000	1.76
>   @@ -220,11 +220,13 @@

>    
>   +        /* When we call destroy, the buckets are deleted, so save that
>   +         * one character we need.  This simplifies our execution paths
>   +         * at the cost of one character read.
>   +         */
>   +        c = *str;

protocol.c: In function `ap_rgetline':
protocol.c:424: warning: assignment of read-only variable `c'

previously: const char c;

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message