Commit 7c18541f authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

Log a more obvious message if apr cannot load its dbm shared library.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1133158 13f79535-47bb-0310-9956-ffa450edef68
parent 7d6d3eab
Loading
Loading
Loading
Loading
+3 −0
Changes for modules/dav/fs/dbm.c: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -95,6 +95,9 @@ static dav_error * dav_fs_dbm_error(dav_db *db, apr_pool_t *p,
    if (db == NULL) {
        errcode = 1;
        errstr = "Could not open property database.";
        if (APR_STATUS_IS_EDSOOPEN(status))
            ap_log_error(APLOG_MARK, APLOG_CRIT, status, ap_server_conf,
            "The DBM driver could not be loaded");
    }
    else {
        (void) apr_dbm_geterror(db->file, &errcode, errbuf, sizeof(errbuf));