From 7c93e8de600da615fa560d7ea8f4928c99dfc933 Mon Sep 17 00:00:00 2001 From: samr7 Date: Thu, 11 Oct 2012 17:26:42 -0700 Subject: [PATCH] Fix a ridiculous bug in oclvanityminer's bounty list parser. --- oclvanityminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oclvanityminer.c b/oclvanityminer.c index cfd39e6..70dc41f 100644 --- a/oclvanityminer.c +++ b/oclvanityminer.c @@ -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)