Commit fc199103 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

Clarify potentially unsuccessful success results.

Curious why modules/aaa/mod_authz_dbm.c:get_dbm_grp() doesn't need the same
net changes?



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1851552 13f79535-47bb-0310-9956-ffa450edef68
parent 68ef5321
Loading
Loading
Loading
Loading
+4 −0
Changes for modules/aaa/mod_authn_dbm.c: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -101,6 +101,10 @@ static apr_status_t fetch_dbm_value(const char *dbmtype, const char *dbmfile,

    apr_dbm_close(f);

    /* NOT FOUND is not an error case; this is indicated by a NULL result.
     * Treat all NULL lookup/error results as success for the simple case 
     * of auth credential lookup, these are DECLINED in both cases.
     */
    return APR_SUCCESS;
}