X-Git-Url: http://sjero.net/git/?p=iperf;a=blobdiff_plain;f=src%2FSettings.cpp;fp=src%2FSettings.cpp;h=2b71693c70c132b6fd49554908107a00ab069d4c;hp=244b2a5fecd0000136b5c28c8ee52687997e7ebe;hb=0b373e070771aa2bc368ec82dbd4f48e69f5faf9;hpb=160c6a5bab3ab731f5b1ad8bc174e7d087ca7acb diff --git a/src/Settings.cpp b/src/Settings.cpp index 244b2a5..2b71693 100644 --- a/src/Settings.cpp +++ b/src/Settings.cpp @@ -373,12 +373,7 @@ void Settings_Interpret( char option, const char *optarg, thread_Settings *mExtS break; case 'h': // print help and exit -#ifndef WIN32 fprintf( stderr, usage_long ); -#else - fprintf(stderr, usage_long1); - fprintf(stderr, usage_long2); -#endif exit(1); break; @@ -761,11 +756,7 @@ void Settings_GenerateClientSettings( thread_Settings *server, (*client)->mAmount = ntohl(hdr->mAmount); if ( ((*client)->mAmount & 0x80000000) > 0 ) { setModeTime( (*client) ); -#ifndef WIN32 (*client)->mAmount |= 0xFFFFFFFF00000000LL; -#else - (*client)->mAmount |= 0xFFFFFFFF00000000; -#endif (*client)->mAmount = -(*client)->mAmount; } (*client)->mFileName = NULL;