httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r209823 - /httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c
Date Fri, 08 Jul 2005 15:52:02 GMT
Author: wrowe
Date: Fri Jul  8 08:52:02 2005
New Revision: 209823

URL: http://svn.apache.org/viewcvs?rev=209823&view=rev
Log:

  No UCHAR, per Joe

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c?rev=209823&r1=209822&r2=209823&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c Fri Jul  8 08:52:02 2005
@@ -244,7 +244,8 @@
         return NULL;
     }
     /* Cast needed, ucpData may be const */
-    memcpy((UCHAR *)ucpData, (char *)dbmval.dptr+sizeof(time_t), nData);
+    memcpy((unsigned char *)ucpData, 
+           (char *)dbmval.dptr + sizeof(time_t), nData);
     memcpy(&expiry, dbmval.dptr, sizeof(time_t));
 
     apr_dbm_close(dbm);



Mime
View raw message