summaryrefslogtreecommitdiffstats
path: root/modules/dav
diff options
context:
space:
mode:
authorJan Kaluža <jkaluza@apache.org>2013-09-30 12:35:52 +0200
committerJan Kaluža <jkaluza@apache.org>2013-09-30 12:35:52 +0200
commit79f70135fbcfd1feab529291af56f0636ba7d533 (patch)
treef16dd47244ae3b8efd009bde1cdf7041f14548c0 /modules/dav
parentupdate transformations for mod_ssl and ssl_faq (diff)
downloadapache2-79f70135fbcfd1feab529291af56f0636ba7d533.tar.xz
apache2-79f70135fbcfd1feab529291af56f0636ba7d533.zip
mod_dav: set r->status_line in dav_error_response.
It's used as argument in next ap_rvputs call. PR 55426. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1527509 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/dav')
-rw-r--r--modules/dav/main/mod_dav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/dav/main/mod_dav.c b/modules/dav/main/mod_dav.c
index ae5291a86d..73970f0daa 100644
--- a/modules/dav/main/mod_dav.c
+++ b/modules/dav/main/mod_dav.c
@@ -315,6 +315,7 @@ static const char *dav_cmd_davmintimeout(cmd_parms *cmd, void *config,
static int dav_error_response(request_rec *r, int status, const char *body)
{
r->status = status;
+ r->status_line = ap_get_status_line(status);
ap_set_content_type(r, "text/html; charset=ISO-8859-1");