Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
fix bug in -d option
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausT committed Dec 17, 2017
1 parent a6bf21c commit a4025ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu-miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -1644,7 +1644,7 @@ static void parse_arg(int key, char *arg)
opt_n_threads = 0;
while(pch != NULL)
{
if(pch[0] >= '0' && pch[0] <= '9' && pch[1] == '\0')
if(pch[0] >= '0' && pch[0] <= '9')
{
i = atoi(pch);
if(i < num_processors && gpu[i] == false && opt_n_threads < MAX_GPU)
Expand Down

0 comments on commit a4025ef

Please sign in to comment.