From d4c38016253a3b63f8d88a38eceed9f0222e7b00 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Mon, 11 Oct 2010 21:54:26 +0000 Subject: [PATCH] Eliminate nonportable cruft git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1021527 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_disk_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cache/mod_disk_cache.c b/modules/cache/mod_disk_cache.c index dacc33438a..9d32f89de7 100644 --- a/modules/cache/mod_disk_cache.c +++ b/modules/cache/mod_disk_cache.c @@ -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; -- 2.40.0