Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
b2f09da2
Commit
b2f09da2
authored
Sep 12, 2017
by
devsaurus
Browse files
ignore return code from netconn_delete, fix #2096
parent
c117092d
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/modules/net.c
View file @
b2f09da2
...
...
@@ -347,10 +347,8 @@ static void lnet_netconn_callback(struct netconn *netconn, enum netconn_evt evt,
static
err_t
netconn_close_wa
(
struct
netconn
*
conn
)
{
err_t
err
=
netconn_close
(
conn
);
if
(
err
==
ERR_OK
)
{
err
=
netconn_delete
(
conn
);
if
(
err
==
ERR_OK
)
{
netconn_free
(
conn
);
}
netconn_delete
(
conn
);
netconn_free
(
conn
);
}
return
err
;
...
...
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