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
56c687b3
Commit
56c687b3
authored
Apr 19, 2016
by
Alexander Alashkin
Committed by
rojer
Apr 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for null in DNS handler
PUBLISHED_FROM=e8b719d491688032e6395b75d5859ffad7d7ea23
parent
083d3986
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
mongoose.c
mongoose.c
+5
-1
No files found.
mongoose.c
View file @
56c687b3
...
@@ -9357,10 +9357,14 @@ static void mg_resolve_async_eh(struct mg_connection *nc, int ev, void *data) {
...
@@ -9357,10 +9357,14 @@ static void mg_resolve_async_eh(struct mg_connection *nc, int ev, void *data) {
struct
mg_resolve_async_request
*
req
;
struct
mg_resolve_async_request
*
req
;
struct
mg_dns_message
*
msg
;
struct
mg_dns_message
*
msg
;
DBG
((
"ev=%d
"
,
ev
));
DBG
((
"ev=%d
user_data=%p"
,
ev
,
nc
->
user_data
));
req
=
(
struct
mg_resolve_async_request
*
)
nc
->
user_data
;
req
=
(
struct
mg_resolve_async_request
*
)
nc
->
user_data
;
if
(
req
==
NULL
)
{
return
;
}
switch
(
ev
)
{
switch
(
ev
)
{
case
MG_EV_CONNECT
:
case
MG_EV_CONNECT
:
case
MG_EV_POLL
:
case
MG_EV_POLL
:
...
...
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