mirror of
https://github.com/GOSTSec/vanitygen
synced 2025-02-07 12:24:20 +00:00
Fix a ridiculous bug in oclvanityminer's bounty list parser.
This commit is contained in:
parent
6969fee961
commit
7c93e8de60
@ -474,7 +474,7 @@ server_body_reader(const char *buf, size_t elemsize, size_t len, void *param)
|
|||||||
memcpy(reqp->part_buf + reqp->part_end, buf, len);
|
memcpy(reqp->part_buf + reqp->part_end, buf, len);
|
||||||
reqp->part_end += len;
|
reqp->part_end += len;
|
||||||
|
|
||||||
line = reqp->part_buf;
|
line = reqp->part_buf + reqp->part_off;
|
||||||
while (1) {
|
while (1) {
|
||||||
sep = strchr(line, '\n');
|
sep = strchr(line, '\n');
|
||||||
if (!sep)
|
if (!sep)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user