Skip to content

Commit

Permalink
Fix a ridiculous bug in oclvanityminer's bounty list parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
samr7 committed Oct 12, 2012
1 parent 6969fee commit 7c93e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oclvanityminer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
reqp->part_end += len;

line = reqp->part_buf;
line = reqp->part_buf + reqp->part_off;
while (1) {
sep = strchr(line, '\n');
if (!sep)
Expand Down

0 comments on commit 7c93e8d

Please sign in to comment.