Skip to content

Commit

Permalink
Merge branch 'nanofury' into bfgminer
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Oct 26, 2013
2 parents 9312bd4 + 0e4d622 commit c7fa4ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -9365,7 +9365,7 @@ void cgpu_set_defaults(struct cgpu_info * const cgpu)
const char * const setstr = setstr_elist->string;
p = strchr(setstr, ':');
if (!p)
continue;
p = setstr;
{
L = p - setstr;
char pattern[L + 1];
Expand All @@ -9386,7 +9386,8 @@ void cgpu_set_defaults(struct cgpu_info * const cgpu)
continue;
}

++p;
if (p[0] == ':')
++p;
p2 = strchr(p, '=');
if (!p2)
{
Expand Down

0 comments on commit c7fa4ea

Please sign in to comment.