diff --git a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp index a459fe916e5..f95a537bd8e 100644 --- a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp +++ b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp @@ -2264,7 +2264,7 @@ NS_IMETHODIMP nsPluginHostImpl::FindProxyForURL(const char* url, char* *result) token = nsCRT::strtok( noProxyCopy, comma, &newStr ); while( token != NULL ) { - if (PL_strstr((const char *) token, (const char *) proxyHost)) { + if (PL_strstr((const char *) proxyHost, (const char *) token)) { useDirect = PR_TRUE; break; } diff --git a/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp b/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp index a459fe916e5..f95a537bd8e 100644 --- a/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp +++ b/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp @@ -2264,7 +2264,7 @@ NS_IMETHODIMP nsPluginHostImpl::FindProxyForURL(const char* url, char* *result) token = nsCRT::strtok( noProxyCopy, comma, &newStr ); while( token != NULL ) { - if (PL_strstr((const char *) token, (const char *) proxyHost)) { + if (PL_strstr((const char *) proxyHost, (const char *) token)) { useDirect = PR_TRUE; break; }