mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
Fix HttpMessage::get_output_body_blocks bug.
This commit is contained in:
@@ -82,6 +82,7 @@ size_t HttpMessage::get_output_body_blocks(const void *buf[], size_t size[],
|
||||
block = list_entry(pos, struct HttpMessageBlock, list);
|
||||
buf[n] = block->ptr;
|
||||
size[n] = block->size;
|
||||
n++;
|
||||
}
|
||||
|
||||
return n;
|
||||
|
||||
Reference in New Issue
Block a user