On 13 Oct 2002, Jeff Trawick wrote:

> [EMAIL PROTECTED] 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                              [EMAIL PROTECTED]
550 Jean St
Oakland CA 94610
-------------------------------------------------------------------------------

Reply via email to