httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1021527 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
Date Mon, 11 Oct 2010 21:54:26 GMT
Author: wrowe
Date: Mon Oct 11 21:54:26 2010
New Revision: 1021527

URL: http://svn.apache.org/viewvc?rev=1021527&view=rev
Log:
Eliminate nonportable cruft

Modified:
    httpd/httpd/trunk/modules/cache/mod_disk_cache.c

Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_disk_cache.c?rev=1021527&r1=1021526&r2=1021527&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Mon Oct 11 21:54:26 2010
@@ -935,7 +935,7 @@ static apr_status_t write_headers(cache_
     disk_cache_info_t disk_info;
     struct iovec iov[2];
 
-    bzero(&disk_info, sizeof(disk_cache_info_t));
+    memset(&disk_info, 0, sizeof(disk_cache_info_t));
 
     if (dobj->headers_out) {
         const char *tmp;



Mime
View raw message