apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject Re: apr_ipsubnet_test
Date Sun, 13 Oct 2002 15:53:27 GMT
On 13 Oct 2002, Jeff Trawick wrote:

> rbb@apache.org writes:
> 
> > I was porting the testipsub.c tests to the new test suite, and I have
> > noticed this function.  Is there a reason that this function returns 1/0,
> > instead of APR_SUCCESS/APR_Some_other_value?  
> 
> Is there a more APR-ish way to describe returning "true" or "false"
> than

As with all other APR functions.  APR_SUCCESS indicates "true", Some other
APR_STATUS code indicates false.

Ryan

> 
> /* @return non-zero if the socket address is within the subnet, 0 otherwise */
> 
> 

-- 

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
550 Jean St
Oakland CA 94610
-------------------------------------------------------------------------------


Mime
View raw message