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
ef28c375
Commit
ef28c375
authored
Sep 30, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed mg_get_request_info()
parent
cd7e1b9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
9 deletions
+1
-9
mod_lua.c
build/mod_lua.c
+1
-1
mongoose.c
build/src/mongoose.c
+0
-4
mongoose.c
mongoose.c
+0
-4
No files found.
build/mod_lua.c
View file @
ef28c375
...
...
@@ -242,7 +242,7 @@ static int lsp_redirect(lua_State *L) {
}
static
void
prepare_lua_environment
(
struct
mg_connection
*
conn
,
lua_State
*
L
)
{
const
struct
mg_request_info
*
ri
=
mg_get_request_info
(
conn
)
;
const
struct
mg_request_info
*
ri
=
&
conn
->
request_info
;
extern
void
luaL_openlibs
(
lua_State
*
);
int
i
;
...
...
build/src/mongoose.c
View file @
ef28c375
...
...
@@ -159,10 +159,6 @@ const char *mg_version(void) {
return
MONGOOSE_VERSION
;
}
struct
mg_request_info
*
mg_get_request_info
(
struct
mg_connection
*
conn
)
{
return
&
conn
->
request_info
;
}
static
void
mg_strlcpy
(
register
char
*
dst
,
register
const
char
*
src
,
size_t
n
)
{
for
(;
*
src
!=
'\0'
&&
n
>
1
;
n
--
)
{
*
dst
++
=
*
src
++
;
...
...
mongoose.c
View file @
ef28c375
...
...
@@ -618,10 +618,6 @@ const char *mg_version(void) {
return
MONGOOSE_VERSION
;
}
struct
mg_request_info
*
mg_get_request_info
(
struct
mg_connection
*
conn
)
{
return
&
conn
->
request_info
;
}
static
void
mg_strlcpy
(
register
char
*
dst
,
register
const
char
*
src
,
size_t
n
)
{
for
(;
*
src
!=
'\0'
&&
n
>
1
;
n
--
)
{
*
dst
++
=
*
src
++
;
...
...
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