Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
mongoose
Commits
874b5bfd
Commit
874b5bfd
authored
Feb 28, 2017
by
Yiming Sun
Committed by
Cesanta Bot
Feb 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comment in mongoose.h
PUBLISHED_FROM=35e8f18aa611b45c271d0178d9197291bfa9726d
parent
71d09722
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mg_register_http_endpoint.md
docs/c-api/http_server.h/mg_register_http_endpoint.md
+1
-1
mongoose.h
mongoose.h
+1
-1
No files found.
docs/c-api/http_server.h/mg_register_http_endpoint.md
View file @
874b5bfd
...
...
@@ -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_hello
1
(
struct
mg_connection
*
nc
,
int
ev
,
void
*
ev_data
)
{
static
void
handle_hello
2
(
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
;
...
...
mongoose.h
View file @
874b5bfd
...
...
@@ -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_hello
1
(struct mg_connection *nc, int ev, void *ev_data) {
* static void handle_hello
2
(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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment