From: Guilherme Maciel Ferreira Date: Fri, 23 Sep 2011 21:48:10 +0000 (-0300) Subject: More descriptive variable name, also fixing a bug which cause the program to halt... X-Git-Tag: v1.3~11^2~34^2~17 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=f44cee1cc895e8afa72823541a66d502bd1b202e;p=pingcheck More descriptive variable name, also fixing a bug which cause the program to halt with the wrong arguments --- diff --git a/src/config/configurationreader.cpp b/src/config/configurationreader.cpp index 157d455..324d58f 100644 --- a/src/config/configurationreader.cpp +++ b/src/config/configurationreader.cpp @@ -75,8 +75,8 @@ bool ConfigurationReader::parse( bool command_line_processed = command_line.process( &vm ); if ( command_line_processed ) { - bool terminate_app = command_line.parse( vm, &Config ); - if ( terminate_app ) + bool command_line_parsed = command_line.parse( vm, &Config ); + if ( !command_line_parsed ) { return false; }