httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: Warning that really should be fixed
Date Tue, 30 May 2000 02:38:34 GMT
On Mon, 29 May 2000 19:09:46 -0700 (PDT), rbb@covalent.net wrote:

>On Tue, 30 May 2000, Brian Havard wrote:
>
>> Am I the only one who uses -Wall?
>> 
>> buff.c: In function `ap_bhalfduplex':
>> buff.c:410: warning: `return' with no value, in function returning non-void
>> 
>> Looks pretty dodgy to me. I'd fix it myself but I'm not really familiar
>> with this code. It looks like anything non-zero will do.
>
>Sorry, I usually forget to compile with -Wall.  If you commit a patch,
>I'll make sure it's good, because I wrote this code.  :-)

Your bug, you can fix it :)

I would have but I can't find a status code that fits the meaning of "There
is nothing to do if the there is something readable in the incoming buffer
or there is nothing flushable in the output buffer."

You may need a new one......

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message