]> granicus.if.org Git - apache/commitdiff
Eliminate nonportable cruft
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 11 Oct 2010 21:54:26 +0000 (21:54 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 11 Oct 2010 21:54:26 +0000 (21:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1021527 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_disk_cache.c

index dacc33438aa7947581564cc14373b2fd55ffcb22..9d32f89de7b9bd59dc557092ae2795028062f4d5 100644 (file)
@@ -935,7 +935,7 @@ static apr_status_t write_headers(cache_handle_t *h, request_rec *r)
     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;