From: Eric Covener Date: Tue, 28 Jan 2014 01:49:21 +0000 (+0000) Subject: c89 fix X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7cbb410f8881bb241ef89b830dcce55f17337c2;p=thirdparty%2Fapache%2Fhttpd.git c89 fix git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1561923 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/slotmem/mod_slotmem_shm.c b/modules/slotmem/mod_slotmem_shm.c index ff8352a3f67..2b85fa605a8 100644 --- a/modules/slotmem/mod_slotmem_shm.c +++ b/modules/slotmem/mod_slotmem_shm.c @@ -366,9 +366,9 @@ static apr_status_t slotmem_create(ap_slotmem_instance_t **new, "apr_shm_attach() for sure worked..."); } else { + apr_size_t dsize = size - AP_SLOTMEM_OFFSET; ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(02600) "doing a real apr_shm_create()..."); - apr_size_t dsize = size - AP_SLOTMEM_OFFSET; if (fbased) { apr_shm_remove(fname, gpool); rv = apr_shm_create(&shm, size, fname, gpool);