mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Add space to reject reason.
This commit is contained in:
parent
b4450bb852
commit
3c85498d57
@ -1892,7 +1892,7 @@ share_result(json_t *val, json_t *res, json_t *err, const struct work *work,
|
|||||||
|
|
||||||
if (reason_val && json_is_string(reason_val)) {
|
if (reason_val && json_is_string(reason_val)) {
|
||||||
reason_str = (char *)json_string_value(reason_val);
|
reason_str = (char *)json_string_value(reason_val);
|
||||||
snprintf(reason, 31, "(%s)", reason_str);
|
snprintf(reason, 31, " (%s)", reason_str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user