aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2014-09-15 13:31:03 -0400
committerEric Reed <ebr@mediabrowser3.com>2014-09-15 13:31:03 -0400
commitc499bf0e57f9a0d2acd2ff8c9ed7cfb9db130899 (patch)
treed394027737e834c5bc4e0cf264d7c281b348108f
parente360f01f26550bcf61b4e9f0f6890737981a47ad (diff)
Oops had and where should be or
-rw-r--r--MediaBrowser.Server.Implementations/Connect/ConnectManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs b/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs
index e87828173..0f2d2e3d5 100644
--- a/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs
+++ b/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs
@@ -135,7 +135,7 @@ namespace MediaBrowser.Server.Implementations.Connect
{
var webEx = (WebException) ex.InnerException;
- if (webEx != null && webEx.Status != WebExceptionStatus.ProtocolError && ((HttpWebResponse)webEx.Response).StatusCode != HttpStatusCode.NotFound)
+ if (webEx == null || (webEx.Status != WebExceptionStatus.ProtocolError && ((HttpWebResponse)webEx.Response).StatusCode != HttpStatusCode.NotFound))
{
throw;
}