blaze822: blaze822_mem: use body=bodyend instead of body=0

Else we lose track of where we are during multipart when there is no
body (really a body of length 0).
pull/1/merge
Christian Neukirchen 8 years ago
parent f122c3c7d2
commit 005037e254

@ -367,7 +367,8 @@ blaze822_mem(char *src, size_t len)
mesg->body = end+4;
} else {
end = src + len;
mesg->body = 0;
mesg->body = end;
mesg->bodyend = end;
}
if (mesg->body)
mesg->bodyend = src + len;

Loading…
Cancel
Save