From: Jeff Trawick Date: Sat, 3 Feb 2001 00:32:20 +0000 (+0000) Subject: cleanups need to return apr_status_t X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b842381ff34ed803d69f0983baaa1c0dc0ae1e5d;p=apache cleanups need to return apr_status_t git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87963 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/scoreboard.c b/server/scoreboard.c index c50a5494e7..132109f928 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -142,9 +142,9 @@ AP_DECLARE(void) reopen_scoreboard(apr_pool_t *p) /* ap_cleanup_scoreboard * */ -static void ap_cleanup_scoreboard(void *d) { +static apr_status_t ap_cleanup_scoreboard(void *d) { if (ap_scoreboard_image == NULL) - return; + return APR_SUCCESS; if (ap_scoreboard_image->global.sb_type == SB_SHARED) { ap_cleanup_shared_mem(NULL); } @@ -152,6 +152,7 @@ static void ap_cleanup_scoreboard(void *d) { free(ap_scoreboard_image); ap_scoreboard_image = NULL; } + return APR_SUCCESS; } /* ap_create_scoreboard(apr_pool_t*, ap_scoreboard_e t)