Mercurial > dovecot > core-2.2
changeset 18959:34f78bc1eed4
lib-http client: Removed useless assignment of request->authority in http_client_request_redirect().
It is assigned again in http_client_request_do_submit().
author | Stephan Bosch <stephan@rename-it.nl> |
---|---|
date | Tue, 18 Aug 2015 20:39:24 +0300 |
parents | 5653b61d4c73 |
children | 58694b53e730 |
files | src/lib-http/http-client-request.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-http/http-client-request.c Tue Aug 18 20:39:24 2015 +0300 +++ b/src/lib-http/http-client-request.c Tue Aug 18 20:39:24 2015 +0300 @@ -1022,10 +1022,6 @@ http_url_copy(req->pool, &req->origin_url, url); req->target = p_strdup(req->pool, target); - if (req->host_url == &req->origin_url) { - req->authority = - p_strdup(req->pool, http_url_create_authority(req->host_url)); - } req->host = NULL; req->conn = NULL;