diff --git a/src/frontend/stmclient.h b/src/frontend/stmclient.h index d13bb26..f97a1fb 100644 --- a/src/frontend/stmclient.h +++ b/src/frontend/stmclient.h @@ -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: