changed timeout check

This commit is contained in:
suter_a 2014-06-30 14:56:29 +02:00
parent 3db7f8c6a8
commit da6fa2f544

View File

@ -138,7 +138,7 @@ int main(int argc, char *argv[])
} else if (!strcmp(argv[i], "--timeout")) {
if (i+1 < argc) {
TString str(argv[i+1]);
if (str.IsDigit()) {
if (str.IsFloat()) {
timeout = str.Atoi();
} else {
show_syntax = true;