Update mcs/class/System/System.Net/WebRequest.cs
authorMartin <test051102@hotmail.com>
Mon, 17 Oct 2011 07:08:06 +0000 (10:08 +0300)
committerMartin <test051102@hotmail.com>
Mon, 17 Oct 2011 07:08:06 +0000 (10:08 +0300)
mcs/class/System/System.Net/WebRequest.cs

index e0f85b9b777ccfe55a3b6139d69e649e9ba299d1..cd62b6d7625b5098021a830f84e31a802278b0a3 100644 (file)
@@ -356,7 +356,7 @@ namespace System.Net
                                                        else bBypassOnLocal = true;
                                        }
                                        
-                                       return new WebProxy (strProxyServer, bBypassOnLocal, al.ToArray (typeof(string)) as string[]);
+                                       return new WebProxy (strHttpProxy, bBypassOnLocal, al.ToArray (typeof(string)) as string[]);
                                }
                        } else {
                                string address = Environment.GetEnvironmentVariable ("http_proxy");