httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Sun, 18 Nov 2001 02:57:13 GMT
ianh        01/11/17 18:57:13

  Modified:    include  http_core.h
               server   core.c
  Log:
  change the signature of ap_custom_response() to use a
  "const char *" instead of a "char *".
  
  PR: 8791
  Submitted by: Kurt Brown kurtb149@yahoo.com
  Reviewed by:	Ian Holsman
  
  Revision  Changes    Path
  1.53      +1 -2      httpd-2.0/include/http_core.h
  
  Index: http_core.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/http_core.h,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- http_core.h	2001/09/17 21:07:35	1.52
  +++ http_core.h	2001/11/18 02:57:12	1.53
  @@ -252,9 +252,8 @@
    * @param status The status for which the custom response should be used
    * @param string The custom response.  This can be a static string, a file
    *               or a URL
  - * @deffunc void ap_custom_response(request_rec *r, int status, char *string)
    */
  -AP_DECLARE(void) ap_custom_response(request_rec *r, int status, char *string);
  +AP_DECLARE(void) ap_custom_response(request_rec *r, int status, const char *string);
   
   /**
    * Check for a definition from the server command line
  
  
  
  1.99      +2 -1      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- core.c	2001/11/15 20:49:53	1.98
  +++ core.c	2001/11/18 02:57:12	1.99
  @@ -943,7 +943,7 @@
       return NULL;
   }
   
  -AP_DECLARE(void) ap_custom_response(request_rec *r, int status, char *string)
  +AP_DECLARE(void) ap_custom_response(request_rec *r, int status, const char *string)
   {
       core_dir_config *conf = 
   	ap_get_module_config(r->per_dir_config, &core_module);
  @@ -3076,6 +3076,7 @@
                   }
               }
           }
  +
       
           /* Completed iterating over the brigades, now determine if we want 
            * to buffer the brigade or send the brigade out on the network.
  
  
  

Mime
View raw message