From: James Yonan Date: Fri, 12 Mar 2010 02:59:17 +0000 (+0000) Subject: Trivial fix to proxy.c -- #define proxy auth type as UP_TYPE_PROXY. X-Git-Tag: v2.2-beta1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6624b877539b58375c75028637acf38aa921d821;p=thirdparty%2Fopenvpn.git Trivial fix to proxy.c -- #define proxy auth type as UP_TYPE_PROXY. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5466 e7ae566f-a301-0410-adde-c780ea21d3b5 --- diff --git a/proxy.c b/proxy.c index 6e5a30a03..dc8ea9851 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; }