1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-09 20:21:01 +00:00

bflsc - fix brackets so [Chips] isn't always null

This commit is contained in:
Kano 2013-10-18 10:30:16 +11:00
parent 7838af1dc1
commit 4aa84abba5

View File

@ -658,9 +658,10 @@ static bool getinfo(struct cgpu_info *bflsc, int dev)
free(tmp); free(tmp);
goto mata; goto mata;
} }
}
else if (strstr(firstname, BFLSC_DI_CHIPS)) else if (strstr(firstname, BFLSC_DI_CHIPS))
sc_dev.chips = strdup(fields[0]); sc_dev.chips = strdup(fields[0]);
}
freebreakdown(&count, &firstname, &fields); freebreakdown(&count, &firstname, &fields);
} }