Fix tolerance (-T) option (Fixes issue 102)
Thanks to fnargwibble
This commit is contained in:
parent
25e1b8a3c6
commit
02afffce07
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ int main(int argc, char * const argv[]) {
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
// Nonce tolerance range
|
// 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");
|
ERR ("The nonce distances range must be a zero or a positive number");
|
||||||
exit (EXIT_FAILURE);
|
exit (EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue