mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-07-13 19:31:49 +02:00
minor comment
This commit is contained in:
@ -150,10 +150,11 @@ int GetDeprecatedCommandLineOptions(int argc, char *argv[], uint16_t &startPort,
|
|||||||
if (argc == 3 || argc == 4) {
|
if (argc == 3 || argc == 4) {
|
||||||
startPort = sls::StringTo<uint16_t>(argv[1]);
|
startPort = sls::StringTo<uint16_t>(argv[1]);
|
||||||
numReceivers = sls::StringTo<uint16_t>(argv[2]);
|
numReceivers = sls::StringTo<uint16_t>(argv[2]);
|
||||||
if (numReceivers > 1024) {
|
if (numReceivers > 100) {
|
||||||
LOG(sls::logWARNING) << deprecatedMessage;
|
LOG(sls::logWARNING) << deprecatedMessage;
|
||||||
LOG(sls::logERROR)
|
LOG(sls::logERROR)
|
||||||
<< "Did you mix up the order of the arguments?";
|
<< "Did you mix up the order of the arguments? Max "
|
||||||
|
"number of recievers: 100";
|
||||||
return slsDetectorDefs::FAIL;
|
return slsDetectorDefs::FAIL;
|
||||||
}
|
}
|
||||||
if (numReceivers == 0) {
|
if (numReceivers == 0) {
|
||||||
|
Reference in New Issue
Block a user