From: Bill Stoddard Date: Wed, 7 Nov 2001 01:43:20 +0000 (+0000) Subject: Check the return code properly. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=330cae3dfbe050485959adfee0534ea6f39dcf7e;p=thirdparty%2Fapache%2Fhttpd.git Check the return code properly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@91774 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_scache_dbm.c b/ssl_scache_dbm.c index 946efe371f0..62186c6e02b 100644 --- a/ssl_scache_dbm.c +++ b/ssl_scache_dbm.c @@ -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);