projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef53ac8
)
[MacProxy] Initialize err to IntPtr.Zero before calling CFNetworkCopyProxiesForAutoCo...
author
Jeffrey Stedfast
<jeff@xamarin.com>
Thu, 26 Sep 2013 16:27:12 +0000
(12:27 -0400)
committer
Jeffrey Stedfast
<jeff@xamarin.com>
Thu, 26 Sep 2013 16:27:12 +0000
(12:27 -0400)
mcs/class/System/System.Net/MacProxy.cs
patch
|
blob
|
history
diff --git
a/mcs/class/System/System.Net/MacProxy.cs
b/mcs/class/System/System.Net/MacProxy.cs
index 209c17f534e0a4e0089cada3925bbd60d47d4304..b6300b9428ef694dc74ce8dd6312c8c0fabac24f 100644
(file)
--- a/
mcs/class/System/System.Net/MacProxy.cs
+++ b/
mcs/class/System/System.Net/MacProxy.cs
@@
-612,7
+612,7
@@
namespace System.Net
static CFArray CopyProxiesForAutoConfigurationScript (IntPtr proxyAutoConfigurationScript, CFUrl targetURL)
{
- IntPtr err;
+ IntPtr err
= IntPtr.Zero
;
IntPtr native = CFNetworkCopyProxiesForAutoConfigurationScript (proxyAutoConfigurationScript, targetURL.Handle, out err);
if (native == IntPtr.Zero)