mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
Fix comment in mongoose.h
PUBLISHED_FROM=35e8f18aa611b45c271d0178d9197291bfa9726d
This commit is contained in:
1 parent
71d09722be
commit
874b5bfdbf
2 files changed
+2
-2
No files matched your search
@@ -20,7 +20,7 @@ static void handle_hello1(struct mg_connection *nc, int ev, void *ev_data) {
|
|||||||
nc->flags |= MG_F_SEND_AND_CLOSE;
|
nc->flags |= MG_F_SEND_AND_CLOSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_hello1(struct mg_connection *nc, int ev, void *ev_data) {
|
static void handle_hello2(struct mg_connection *nc, int ev, void *ev_data) {
|
||||||
(void) ev; (void) ev_data;
|
(void) ev; (void) ev_data;
|
||||||
mg_printf(nc, "HTTP/1.0 200 OK\r\n\r\n[I am Hello2]");
|
mg_printf(nc, "HTTP/1.0 200 OK\r\n\r\n[I am Hello2]");
|
||||||
nc->flags |= MG_F_SEND_AND_CLOSE;
|
nc->flags |= MG_F_SEND_AND_CLOSE;
|
||||||
|
|||||||
+1
-1
@@ -4742,7 +4742,7 @@ void mg_file_upload_handler(struct mg_connection *nc, int ev, void *ev_data,
|
|||||||
* nc->flags |= MG_F_SEND_AND_CLOSE;
|
* nc->flags |= MG_F_SEND_AND_CLOSE;
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* static void handle_hello1(struct mg_connection *nc, int ev, void *ev_data) {
|
* static void handle_hello2(struct mg_connection *nc, int ev, void *ev_data) {
|
||||||
* (void) ev; (void) ev_data;
|
* (void) ev; (void) ev_data;
|
||||||
* mg_printf(nc, "HTTP/1.0 200 OK\r\n\r\n[I am Hello2]");
|
* mg_printf(nc, "HTTP/1.0 200 OK\r\n\r\n[I am Hello2]");
|
||||||
* nc->flags |= MG_F_SEND_AND_CLOSE;
|
* nc->flags |= MG_F_SEND_AND_CLOSE;
|
||||||
|
|||||||
Reference in new issue
Block a user