aboutsummaryrefslogtreecommitdiff
path: root/proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.c')
-rw-r--r--proxy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/proxy.c b/proxy.c
index 6e5a30a..dc8ea98 100644
--- a/proxy.c
+++ b/proxy.c
@@ -41,6 +41,8 @@
#ifdef ENABLE_HTTP_PROXY
+#define UP_TYPE_PROXY "HTTP Proxy"
+
/* cached proxy username/password */
static struct user_pass static_proxy_user_pass;
@@ -222,7 +224,7 @@ get_user_pass_http (struct http_proxy_info *p, const bool force)
{
get_user_pass (&static_proxy_user_pass,
p->options.auth_file,
- "HTTP Proxy",
+ UP_TYPE_PROXY,
GET_USER_PASS_MANAGEMENT);
p->up = static_proxy_user_pass;
}