From a38b6ba26703419b6aa657d66bc95dc7c9df3f55 Mon Sep 17 00:00:00 2001 From: Patrick McManus Date: Fri, 10 Apr 2015 17:27:27 -0400 Subject: [PATCH] Bug 1153437 - rename proxyFlags to controlFlags with nsISocketProvider interfaces r=hurley --- netwerk/base/nsSocketTransport2.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/netwerk/base/nsSocketTransport2.cpp b/netwerk/base/nsSocketTransport2.cpp index 6b7091cf1e1b..6f3c036b2d4d 100644 --- a/netwerk/base/nsSocketTransport2.cpp +++ b/netwerk/base/nsSocketTransport2.cpp @@ -1085,7 +1085,7 @@ nsSocketTransport::BuildSocket(PRFileDesc *&fd, bool &proxyTransparent, bool &us int32_t port = (int32_t) mPort; const char *proxyHost = mProxyHost.IsEmpty() ? nullptr : mProxyHost.get(); int32_t proxyPort = (int32_t) mProxyPort; - uint32_t proxyFlags = 0; + uint32_t controlFlags = 0; uint32_t i; for (i=0; i secinfo; if (i == 0) { @@ -1118,7 +1118,7 @@ nsSocketTransport::BuildSocket(PRFileDesc *&fd, bool &proxyTransparent, bool &us mHttpsProxy ? proxyHost : host, mHttpsProxy ? proxyPort : port, proxyHost, proxyPort, - proxyFlags, &fd, + controlFlags, &fd, getter_AddRefs(secinfo)); if (NS_SUCCEEDED(rv) && !fd) { @@ -1132,10 +1132,10 @@ nsSocketTransport::BuildSocket(PRFileDesc *&fd, bool &proxyTransparent, bool &us // to the stack (such as pushing an io layer) rv = provider->AddToSocket(mNetAddr.raw.family, host, port, proxyHost, proxyPort, - proxyFlags, fd, + controlFlags, fd, getter_AddRefs(secinfo)); } - // proxyFlags = 0; not used below this point... + // controlFlags = 0; not used below this point... if (NS_FAILED(rv)) break;