mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-13 14:42:05 +00:00
Return ok in tolines when it doesn't match inprocess message for bflsc.
This commit is contained in:
parent
0f712d5191
commit
2061e97c0f
@ -106,9 +106,9 @@ static bool tolines(struct cgpu_info *bflsc, int dev, char *buf, int *lines, cha
|
|||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
ok = true;
|
|
||||||
while (tok) {
|
while (tok) {
|
||||||
if (strncasecmp(tok, BFLSC_INPROCESS, BFLSC_INPROCESS_LEN)) {
|
if (strncasecmp(tok, BFLSC_INPROCESS, BFLSC_INPROCESS_LEN)) {
|
||||||
|
ok = true;
|
||||||
p_items = realloc(p_items, ++p_lines * sizeof(*p_items));
|
p_items = realloc(p_items, ++p_lines * sizeof(*p_items));
|
||||||
if (unlikely(!p_items))
|
if (unlikely(!p_items))
|
||||||
quit(1, "Failed to realloc p_items in tolines");
|
quit(1, "Failed to realloc p_items in tolines");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user