Merge pull request #1191 from RiccardoDalFiume/master

FIX README mg_http_serve*
This commit is contained in:
Sergey Lyubka 2021-01-17 11:18:32 +00:00 committed by GitHub
commit 30d86928d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -629,7 +629,7 @@ void mg_http_write_chunk(struct mg_connection *c, const char *buf, size_t len);
Write a chunk of data in chunked encoding format.
### mg\_serve\_dir()
### mg\_http\_serve\_dir()
```c
struct mg_http_serve_opts {
@ -644,7 +644,7 @@ Serve static files according to the given options. Note that in order to
enable SSI, set a `-DMG_ENABLE_SSI=1` build flag.
### mg\_serve\_file()
### mg\_http\_serve\_file()
```c
void mg_http_serve_file(struct mg_connection *, struct mg_http_message *hm,