The include file says it's "An HTTP status code" whereas the source returns APR_* values. So return value should be apr_status_t.
Created attachment 11583 [details] Fixes Docs and Return Types
Patch Against APR-Util HEAD. Please also look the seperate bug under #28453. The patches supplied there need to be updated with the correct return codes.
I'm pretty sure this patch can be committed... At the very least the documentation update should go in, since the current doxygen is just wrong, and we can probably get away with changing the return value to apr_status_t for clarity, since apr_status_t is typedefed to int anyway.
Ya, this has been fixed since I got commit bits.