small change

This commit is contained in:
Volker Fischer 2009-03-10 12:27:41 +00:00
parent 382742460b
commit 70c1510c60

View file

@ -42,7 +42,7 @@ int main ( int argc, char** argv )
std::string strArgument;
double rDbleArgument;
/* check if server or client application shall be started */
// check if server or client application shall be started
bool bIsClient = true;
bool bUseGUI = true;
int iUploadRateLimitKbps = DEF_MAX_UPLOAD_RATE_KBPS;
@ -52,9 +52,9 @@ int main ( int argc, char** argv )
std::string strServerName = "";
std::string strLoggingFileName = "";
/* QT docu: argv()[0] is the program name, argv()[1] is the first
argument and argv()[argc()-1] is the last argument.
Start with first argument, therefore "i = 1" */
// QT docu: argv()[0] is the program name, argv()[1] is the first
// argument and argv()[argc()-1] is the last argument.
// Start with first argument, therefore "i = 1"
for ( int i = 1; i < argc; i++ )
{
// server mode flag ----------------------------------------------------------