From: Bradley Nicholes Date: Fri, 1 Feb 2002 18:07:08 +0000 (+0000) Subject: Moved the #endif of APR_HAS_SHARED_MEMORY to include a reference X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b51c893983726b6c055b71845fe44126b375b6d5;p=apache Moved the #endif of APR_HAS_SHARED_MEMORY to include a reference to the global variable ap_scoreboard_shm. Since this variable was already being excluded by APR_HAS_SHARED_MEMORY at the beginning of the file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93166 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/scoreboard.c b/server/scoreboard.c index 57d2be444f..8eb8e1a241 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -232,10 +232,10 @@ apr_status_t ap_reopen_scoreboard(apr_pool_t *p, apr_shm_t **shm, int detached) return APR_EINVAL; } /* everything will be cleared shortly */ -#endif if (*shm) { *shm = ap_scoreboard_shm; } +#endif return APR_SUCCESS; }