mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Code clean up (remove useless memory allocation)
Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr> PR: 52648 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1361803 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -70,7 +70,7 @@ static int asis_handler(request_rec *r)
|
||||
/* This redirect needs to be a GET no matter what the original
|
||||
* method was.
|
||||
*/
|
||||
r->method = apr_pstrdup(r->pool, "GET");
|
||||
r->method = "GET";
|
||||
r->method_number = M_GET;
|
||||
|
||||
ap_internal_redirect_handler(location, r);
|
||||
|
Reference in New Issue
Block a user