small change
This commit is contained in:
parent
382742460b
commit
70c1510c60
1 changed files with 4 additions and 4 deletions
|
@ -42,7 +42,7 @@ int main ( int argc, char** argv )
|
||||||
std::string strArgument;
|
std::string strArgument;
|
||||||
double rDbleArgument;
|
double rDbleArgument;
|
||||||
|
|
||||||
/* check if server or client application shall be started */
|
// check if server or client application shall be started
|
||||||
bool bIsClient = true;
|
bool bIsClient = true;
|
||||||
bool bUseGUI = true;
|
bool bUseGUI = true;
|
||||||
int iUploadRateLimitKbps = DEF_MAX_UPLOAD_RATE_KBPS;
|
int iUploadRateLimitKbps = DEF_MAX_UPLOAD_RATE_KBPS;
|
||||||
|
@ -52,9 +52,9 @@ int main ( int argc, char** argv )
|
||||||
std::string strServerName = "";
|
std::string strServerName = "";
|
||||||
std::string strLoggingFileName = "";
|
std::string strLoggingFileName = "";
|
||||||
|
|
||||||
/* QT docu: argv()[0] is the program name, argv()[1] is the first
|
// QT docu: argv()[0] is the program name, argv()[1] is the first
|
||||||
argument and argv()[argc()-1] is the last argument.
|
// argument and argv()[argc()-1] is the last argument.
|
||||||
Start with first argument, therefore "i = 1" */
|
// Start with first argument, therefore "i = 1"
|
||||||
for ( int i = 1; i < argc; i++ )
|
for ( int i = 1; i < argc; i++ )
|
||||||
{
|
{
|
||||||
// server mode flag ----------------------------------------------------------
|
// server mode flag ----------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue