apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: Removing APR_STATUS_IS_SUCCESS macro
Date Fri, 10 May 2002 20:37:01 GMT
> > OTOH, I don't think we should be encouraging non-zero checks on status
> > values.
> 
> I'm not terribly sure what you mean by this.  Is this what you mean:
> 
> if (my_apr_err) {
>   ..uh-oh...
> }

this one bad.


> if (my_apr_err != APR_SUCCESS) {
>   ..uh-oh...
> }

this one good. :)

-aaron


Mime
View raw message