Fix comment in mongoose.h

PUBLISHED_FROM=35e8f18aa611b45c271d0178d9197291bfa9726d
This commit is contained in:
Yiming Sun 2017-02-28 12:33:56 +02:00 committed by Cesanta Bot
parent 71d09722be
commit 874b5bfdbf
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ static void handle_hello1(struct mg_connection *nc, int ev, void *ev_data) {
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;
mg_printf(nc, "HTTP/1.0 200 OK\r\n\r\n[I am Hello2]");
nc->flags |= MG_F_SEND_AND_CLOSE;

View File

@ -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;
* }
*
* 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;
* mg_printf(nc, "HTTP/1.0 200 OK\r\n\r\n[I am Hello2]");
* nc->flags |= MG_F_SEND_AND_CLOSE;