Make still_connecting() false if network not initialized, to fix confusing error msg.

This commit is contained in:
Keith Winstein
2012-04-16 03:51:30 -04:00
parent c8fe5a3999
commit 79542106c1
+1 -1
View File
@@ -56,7 +56,7 @@ private:
bool still_connecting( void )
{
/* Initially, network == NULL */
return ( !network ) || ( network->get_remote_state_num() == 0 );
return network && ( network->get_remote_state_num() == 0 );
}
public: