[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: branches/KDE/3.5/kdepim/networkstatus
From:       Nadeem Hasan <nhasan () nadmm ! com>
Date:       2007-04-15 12:44:17
Message-ID: 200704150844.24108.nhasan () nadmm ! com
[Download RAW message or body]


On Saturday 14 April 2007 08:52:03 am Will Stephenson wrote:
> SVN commit 653869 by wstephens:
>
> Always allow connections to localhost, even if offline
>
>  M  +2 -0      networkstatus.cpp
>
>
> --- branches/KDE/3.5/kdepim/networkstatus/networkstatus.cpp #653868:653869
> @@ -87,6 +87,8 @@
>
>  int NetworkStatusModule::status( const QString & host )
>  {
> +	if ( host == "127.0.0.1" || host == "localhost" )
> +		return NetworkStatus::Online;
>  	Network * p = networkForHost( host );
>  	if ( !p )
>  	{

Should'nt it be 127.0.0.x ?

-- 
Nadeem Hasan (nhasan-at-nadmm.com)
GPG Fingerprint: 7141 0B1C 9CAF 624D 307F F8EF 6C0C 753E DD3A 0F53

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic