aboutsummaryrefslogtreecommitdiffstats
path: root/auth/auth_spnego.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth_spnego.c')
-rw-r--r--auth/auth_spnego.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/auth/auth_spnego.c b/auth/auth_spnego.c
index c0ad27e362da..e55fad2ae938 100644
--- a/auth/auth_spnego.c
+++ b/auth/auth_spnego.c
@@ -335,8 +335,7 @@ do_auth(peer_t peer,
&tmp, &tmp_len,
gss_info);
} else {
- char *proxy_host;
- apr_getnameinfo(&proxy_host, conn->ctx->proxy_address, 0);
+ char *proxy_host = conn->ctx->proxy_address->hostname;
status = gss_api_get_credentials(conn,
token, token_len, proxy_host,
&tmp, &tmp_len,