]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Trivial fix to proxy.c -- #define proxy auth type as UP_TYPE_PROXY.
authorJames Yonan <james@openvpn.net>
Fri, 12 Mar 2010 02:59:17 +0000 (02:59 +0000)
committerJames Yonan <james@openvpn.net>
Fri, 12 Mar 2010 02:59:17 +0000 (02:59 +0000)
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5466 e7ae566f-a301-0410-adde-c780ea21d3b5

proxy.c

diff --git a/proxy.c b/proxy.c
index 6e5a30a0375977c450a596fc7f8a85f3ce1dbd8f..dc8ea9851b5580a56edc2a5b401048d271bdb001 100644 (file)
--- 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;
     }