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
e5b3b8ad
Commit
e5b3b8ad
authored
7 years ago
by
Dmitry Frank
Committed by
Cesanta Bot
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure not to overflow buf in udp server example
PUBLISHED_FROM=413f5073b0fc267d66ce04d8d40e9e9d7abac94d
parent
e116c48b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mcast_udp_server.c
examples/mcast_udp_server/mcast_udp_server.c
+1
-1
No files found.
examples/mcast_udp_server/mcast_udp_server.c
View file @
e5b3b8ad
...
...
@@ -79,7 +79,7 @@ int main(int argc, char **argv) {
mg_mgr_init
(
&
mgr
,
NULL
);
{
char
listen
[
256
];
s
printf
(
listen
,
"udp://%s"
,
port
);
s
nprintf
(
listen
,
sizeof
(
listen
)
,
"udp://%s"
,
port
);
nc
=
mg_bind
(
&
mgr
,
listen
,
ev_handler
);
}
...
...
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