submit_work: increase string buffer, to avoid overflow

This commit is contained in:
Jeff Garzik 2010-11-29 12:21:03 -05:00 committed by Jeff Garzik
parent 74bb196296
commit 145e5fe141

View file

@ -179,7 +179,7 @@ static void submit_work(struct work *work)
{ {
char *hexstr = NULL; char *hexstr = NULL;
json_t *val, *res; json_t *val, *res;
char s[256]; char s[345];
printf("PROOF OF WORK FOUND? submitting...\n"); printf("PROOF OF WORK FOUND? submitting...\n");