]> granicus.if.org Git - apache/commitdiff
Moved the #endif of APR_HAS_SHARED_MEMORY to include a reference
authorBradley Nicholes <bnicholes@apache.org>
Fri, 1 Feb 2002 18:07:08 +0000 (18:07 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Fri, 1 Feb 2002 18:07:08 +0000 (18:07 +0000)
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

server/scoreboard.c

index 57d2be444f22e543079eb7e7883a285c1b337971..8eb8e1a24156ccd5b23250a40df7175d2d9b4d99 100644 (file)
@@ -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;
 }