apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: apr_ipsubnet_test
Date Sun, 13 Oct 2002 12:24:39 GMT
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

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

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message