mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
MG_ENABLE_FS -> MG_ENABLE_STDIO
This commit is contained in:
1 parent
8e5efd4804
commit
529faa1172
11 files changed
+55
-52
No files matched your search
+1
-1
@@ -364,7 +364,7 @@ void mg_http_reply(struct mg_connection *c, int code, const char *headers,
|
||||
if (buf != mem) free(buf);
|
||||
}
|
||||
|
||||
#if MG_ENABLE_FS
|
||||
#if MG_ENABLE_STDIO
|
||||
static void http_cb(struct mg_connection *, int, void *, void *);
|
||||
static void restore_http_cb(struct mg_connection *c) {
|
||||
if (c->pfn_data != NULL) fclose((FILE *) c->pfn_data);
|
||||
|
||||
Reference in new issue
Block a user