Skip to content

Commit

Permalink
Merge commit 'ed6bf41' into bfgminer
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Mar 18, 2015
2 parents 3bc0b32 + ed6bf41 commit 30c7cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deviceapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ const char *proc_set_device_help(struct cgpu_info * const proc, const char * con

size_t matchlen = 0;
if (newvalue)
while (!isspace(newvalue[0]))
while (newvalue[matchlen] && !isspace(newvalue[matchlen]))
++matchlen;

for ( ; sdf->optname; ++sdf)
Expand Down

0 comments on commit 30c7cf1

Please sign in to comment.