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
2d5d6688
Commit
2d5d6688
authored
Nov 23, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Squashed warning
parent
87279f35
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
io.c
build/src/io.c
+2
-2
mongoose.c
mongoose.c
+2
-2
No files found.
build/src/io.c
View file @
2d5d6688
...
@@ -125,8 +125,8 @@ int mg_read(struct mg_connection *conn, void *buf, int len) {
...
@@ -125,8 +125,8 @@ int mg_read(struct mg_connection *conn, void *buf, int len) {
}
}
int
mg_write
(
struct
mg_connection
*
conn
,
const
void
*
buf
,
int
len
)
{
int
mg_write
(
struct
mg_connection
*
conn
,
const
void
*
buf
,
int
len
)
{
return
push
(
NULL
,
conn
->
client
.
sock
,
conn
->
ssl
,
(
const
char
*
)
buf
,
return
(
int
)
push
(
NULL
,
conn
->
client
.
sock
,
conn
->
ssl
,
(
const
char
*
)
buf
,
(
int64_t
)
len
);
(
int64_t
)
len
);
}
}
// Keep reading the input (either opened file descriptor fd, or socket sock,
// Keep reading the input (either opened file descriptor fd, or socket sock,
...
...
mongoose.c
View file @
2d5d6688
...
@@ -2957,8 +2957,8 @@ int mg_read(struct mg_connection *conn, void *buf, int len) {
...
@@ -2957,8 +2957,8 @@ int mg_read(struct mg_connection *conn, void *buf, int len) {
}
}
int
mg_write
(
struct
mg_connection
*
conn
,
const
void
*
buf
,
int
len
)
{
int
mg_write
(
struct
mg_connection
*
conn
,
const
void
*
buf
,
int
len
)
{
return
push
(
NULL
,
conn
->
client
.
sock
,
conn
->
ssl
,
(
const
char
*
)
buf
,
return
(
int
)
push
(
NULL
,
conn
->
client
.
sock
,
conn
->
ssl
,
(
const
char
*
)
buf
,
(
int64_t
)
len
);
(
int64_t
)
len
);
}
}
// Keep reading the input (either opened file descriptor fd, or socket sock,
// Keep reading the input (either opened file descriptor fd, or socket sock,
...
...
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