From dc2527c11f78cd5d44788ece0b39f6fc27402313 Mon Sep 17 00:00:00 2001 From: Evelyn Date: Fri, 22 Jul 2016 16:17:58 +0100 Subject: [PATCH] Update mg_parse_multipart.md --- docs/c-api/http.h/mg_parse_multipart.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/c-api/http.h/mg_parse_multipart.md b/docs/c-api/http.h/mg_parse_multipart.md index 3eb82cdb..f98d48fa 100644 --- a/docs/c-api/http.h/mg_parse_multipart.md +++ b/docs/c-api/http.h/mg_parse_multipart.md @@ -9,13 +9,13 @@ signature: | size_t *chunk_len); --- -Parse buffer `buf`, `buf_len` that contains multipart form data chunks. -Store chunk name in a `var_name`, `var_name_len` buffer. +Parses the buffer `buf`, `buf_len` that contains multipart form data chunks. +Stores the chunk name in a `var_name`, `var_name_len` buffer. If a chunk is an uploaded file, then `file_name`, `file_name_len` is filled with an uploaded file name. `chunk`, `chunk_len` points to the chunk data. -Return: number of bytes to skip to the next chunk, or 0 if there are +Return: number of bytes to skip to the next chunk or 0 if there are no more chunks. Usage example: