Commit 508e6ee5 authored by Bill Stoddard's avatar Bill Stoddard
Browse files

Check the return code properly.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91774 13f79535-47bb-0310-9956-ffa450edef68
parent 48f678c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ BOOL ssl_scache_dbm_store(server_rec *s, UCHAR *id, int idlen, time_t expiry, SS
        free(dbmval.dptr);
        return FALSE;
    }
    if (apr_dbm_store(dbm, dbmkey, dbmval) < 0) {
    if (apr_dbm_store(dbm, dbmkey, dbmval) != APR_SUCCESS) {
        ssl_log(s, SSL_LOG_ERROR|SSL_ADD_ERRNO,
                "Cannot store SSL session to DBM file `%s'",
                mc->szSessionCacheDataFile);