"const char *" instead of a "char *".
PR: 8791
Submitted by: Kurt Brown kurtb149@yahoo.com
Reviewed by: Ian Holsman
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92024
13f79535-47bb-0310-9956-
ffa450edef68
* @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
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);
}
}
}
+
/* Completed iterating over the brigades, now determine if we want
* to buffer the brigade or send the brigade out on the network.