httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_scache_dbm.c
Date Wed, 07 Nov 2001 01:43:20 GMT
stoddard    01/11/06 17:43:20

  Modified:    modules/ssl ssl_scache_dbm.c
  Log:
  Check the return code properly.
  
  Revision  Changes    Path
  1.9       +1 -1      httpd-2.0/modules/ssl/ssl_scache_dbm.c
  
  Index: ssl_scache_dbm.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_scache_dbm.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ssl_scache_dbm.c	2001/08/02 05:28:00	1.8
  +++ ssl_scache_dbm.c	2001/11/07 01:43:20	1.9
  @@ -177,7 +177,7 @@
           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);
  
  
  

Mime
View raw message