diff options
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/proxydecider.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx index 66ff40654920..f5e1b3ebb6b4 100644 --- a/ucbhelper/source/client/proxydecider.cxx +++ b/ucbhelper/source/client/proxydecider.cxx @@ -496,8 +496,8 @@ const InternetProxyServer & InternetProxyDecider_Impl::getProxy( OUString aHost; - if ( ( rHost[ 0 ] == '[' ) && - ( rHost.getLength() > 1 ) ) + if ( ( rHost.getLength() > 1 ) && + ( rHost[ 0 ] == '[' )) { // host is given as numeric IPv6 address. name resolution // functions need hostname without square brackets. |