Re: [PATCH] HTTP reason phrases not always returned in ra_dav error messages
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-12-20 21:20:14 CET
"Bill Tutt" <rassilon@lyra.org> writes:
> While trying to diagnose whether an error a proxy error or not I noticed
Sure, this makes sense. All you're doing is changing
if (A) error; if (B) error;
into
if (A || B) error;
It doesn't change the logic, just improves the error-throwing detail.
>
This may not be as safe. You're changing the logic here:
> - if (rv != NE_OK)
Although I guess simply combining the if statements here won't help
Maybe we should change this section of __get_props to
if (nv != NE_OK || status_code < 200 || status_code > 299)
?
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.