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
a941687d
Commit
a941687d
authored
9 years ago
by
Maxim Ignatenko
Committed by
Sergey Lyubka
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mongoose build
PUBLISHED_FROM=aec35861339d336697649fd2020766439b3814ad
parent
c2eef52b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
mongoose.c
mongoose.c
+1
-3
No files found.
mongoose.c
View file @
a941687d
...
@@ -1890,7 +1890,7 @@ void mg_mgr_init(struct mg_mgr *m, void *user_data) {
...
@@ -1890,7 +1890,7 @@ void mg_mgr_init(struct mg_mgr *m, void *user_data) {
}
}
#ifdef MG_ENABLE_JAVASCRIPT
#ifdef MG_ENABLE_JAVASCRIPT
static
v7_val_t
mg_send_js
(
struct
v7
*
v7
,
v7_val_t
this_obj
,
v7_val_t
args
)
{
static
v7_val_t
mg_send_js
(
struct
v7
*
v7
,
v7_val_t
args
)
{
v7_val_t
arg0
=
v7_array_get
(
v7
,
args
,
0
);
v7_val_t
arg0
=
v7_array_get
(
v7
,
args
,
0
);
v7_val_t
arg1
=
v7_array_get
(
v7
,
args
,
1
);
v7_val_t
arg1
=
v7_array_get
(
v7
,
args
,
1
);
struct
mg_connection
*
c
=
(
struct
mg_connection
*
)
v7_to_foreign
(
arg0
);
struct
mg_connection
*
c
=
(
struct
mg_connection
*
)
v7_to_foreign
(
arg0
);
...
@@ -1901,8 +1901,6 @@ static v7_val_t mg_send_js(struct v7 *v7, v7_val_t this_obj, v7_val_t args) {
...
@@ -1901,8 +1901,6 @@ static v7_val_t mg_send_js(struct v7 *v7, v7_val_t this_obj, v7_val_t args) {
mg_send
(
c
,
data
,
len
);
mg_send
(
c
,
data
,
len
);
}
}
(
void
)
this_obj
;
return
v7_create_number
(
len
);
return
v7_create_number
(
len
);
}
}
...
...
This diff is collapsed.
Click to expand it.
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