diff --git a/src/mfoc.c b/src/mfoc.c index 11b6fad..5d34d88 100644 --- a/src/mfoc.c +++ b/src/mfoc.c @@ -126,7 +126,7 @@ int main(int argc, char * const argv[]) { { int res; // Nonce tolerance range - if (((res = atoi(optarg)) != 0) || (res < 0)) { + if (((res = atoi(optarg)) < 0)) { ERR ("The nonce distances range must be a zero or a positive number"); exit (EXIT_FAILURE); }