Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
8b491d75
Commit
8b491d75
authored
Aug 18, 2012
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added const in mg_get_request_info()
parent
d70c18d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
mongoose.c
mongoose.c
+2
-1
mongoose.h
mongoose.h
+1
-1
No files found.
mongoose.c
View file @
8b491d75
...
@@ -592,7 +592,8 @@ const char *mg_version(void) {
...
@@ -592,7 +592,8 @@ const char *mg_version(void) {
return
MONGOOSE_VERSION
;
return
MONGOOSE_VERSION
;
}
}
const
struct
mg_request_info
*
mg_get_request_info
(
struct
mg_connection
*
conn
)
{
const
struct
mg_request_info
*
mg_get_request_info
(
const
struct
mg_connection
*
conn
)
{
return
&
conn
->
request_info
;
return
&
conn
->
request_info
;
}
}
...
...
mongoose.h
View file @
8b491d75
...
@@ -153,7 +153,7 @@ int mg_modify_passwords_file(const char *passwords_file_name,
...
@@ -153,7 +153,7 @@ int mg_modify_passwords_file(const char *passwords_file_name,
// Return mg_request_info structure associated with the request.
// Return mg_request_info structure associated with the request.
// Always succeeds.
// Always succeeds.
const
struct
mg_request_info
*
mg_get_request_info
(
struct
mg_connection
*
);
const
struct
mg_request_info
*
mg_get_request_info
(
const
struct
mg_connection
*
);
// Send data to the client.
// Send data to the client.
...
...
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