httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server scoreboard.c
Date Sat, 03 Feb 2001 00:32:20 GMT
trawick     01/02/02 16:32:20

  Modified:    server   scoreboard.c
  Log:
  cleanups need to return apr_status_t
  
  Revision  Changes    Path
  1.4       +3 -2      httpd-2.0/server/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- scoreboard.c	2001/02/02 22:31:00	1.3
  +++ scoreboard.c	2001/02/03 00:32:20	1.4
  @@ -142,9 +142,9 @@
   /* 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 @@
           free(ap_scoreboard_image);
           ap_scoreboard_image = NULL;
       }
  +    return APR_SUCCESS;
   }
   
   /* ap_create_scoreboard(apr_pool_t*, ap_scoreboard_e t)
  
  
  

Mime
View raw message