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
41558bbf
Commit
41558bbf
authored
Jul 04, 2017
by
Dmitry Frank
Committed by
Cesanta Bot
Jul 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting
PUBLISHED_FROM=4d4d49136e13ba8035d452a4f64fcaf48f15bdb3
parent
4d0cc95f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mongoose.c
mongoose.c
+2
-2
No files found.
mongoose.c
View file @
41558bbf
...
...
@@ -14637,9 +14637,9 @@ static int mg_lwip_udp_send(struct mg_connection *nc, const void *data,
struct
udp_pcb
*
upcb
=
cs
->
pcb
.
udp
;
struct
pbuf
*
p
=
pbuf_alloc
(
PBUF_TRANSPORT
,
len
,
PBUF_RAM
);
#if defined(LWIP_IPV4) && LWIP_IPV4 && defined(LWIP_IPV6) && LWIP_IPV6
ip_addr_t
ip
=
{
.
u_addr
.
ip4
.
addr
=
nc
->
sa
.
sin
.
sin_addr
.
s_addr
,
.
type
=
0
};
ip_addr_t
ip
=
{
.
u_addr
.
ip4
.
addr
=
nc
->
sa
.
sin
.
sin_addr
.
s_addr
,
.
type
=
0
};
#else
ip_addr_t
ip
=
{
.
addr
=
nc
->
sa
.
sin
.
sin_addr
.
s_addr
};
ip_addr_t
ip
=
{
.
addr
=
nc
->
sa
.
sin
.
sin_addr
.
s_addr
};
#endif
u16_t
port
=
ntohs
(
nc
->
sa
.
sin
.
sin_port
);
if
(
p
==
NULL
)
{
...
...
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