Unverified Commit 2bc1d129 authored by mohammadlachgar's avatar mohammadlachgar Committed by GitHub

Delete spaces and new lines(entr)

parent 3adf9856
...@@ -407,7 +407,6 @@ namespace Titanium.Web.Proxy ...@@ -407,7 +407,6 @@ namespace Titanium.Web.Proxy
/// <param name="endPoint"></param> /// <param name="endPoint"></param>
public void AddEndPoint(ProxyEndPoint endPoint) public void AddEndPoint(ProxyEndPoint endPoint)
{ {
if (ProxyEndPoints.Any(x => x.IpAddress.Equals(endPoint.IpAddress) && endPoint.Port != 0 && x.Port == endPoint.Port)) if (ProxyEndPoints.Any(x => x.IpAddress.Equals(endPoint.IpAddress) && endPoint.Port != 0 && x.Port == endPoint.Port))
{ {
throw new Exception("Cannot add another endpoint to same port & ip address"); throw new Exception("Cannot add another endpoint to same port & ip address");
...@@ -785,7 +784,6 @@ namespace Titanium.Web.Proxy ...@@ -785,7 +784,6 @@ namespace Titanium.Web.Proxy
{ {
if (!CertificateManager.CertValidated) if (!CertificateManager.CertValidated)
{ {
CertificateManager.CreateTrustedRootCertificate(); CertificateManager.CreateTrustedRootCertificate();
if (TrustRootCertificate) if (TrustRootCertificate)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment