projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e43e697
)
Add missing break that caused get_ares_servers to fail.
author
Ben Greear
<greearb@candelatech.com>
Tue, 24 Aug 2010 23:48:47 +0000
(16:48 -0700)
committer
Ben Greear
<greearb@candelatech.com>
Tue, 24 Aug 2010 23:52:29 +0000
(16:52 -0700)
Reported-by: Ning Dong <flintning@163.com>
Signed-off-by: Ben Greear <greearb@candelatech.com>
ares_data.c
patch
|
blob
|
history
diff --git
a/ares_data.c
b/ares_data.c
index
6b6fae8
..
a2477be
100644
(file)
--- a/
ares_data.c
+++ b/
ares_data.c
@@
-145,7
+145,8
@@
void *ares_malloc_data(ares_datatype type)
ptr->data.addr_node.next = NULL;
ptr->data.addr_node.family = 0;
memset(&ptr->data.addr_node.addrV6, 0,
- sizeof(ptr->data.addr_node.addrV6));
+ sizeof(ptr->data.addr_node.addrV6));
+ break;
default:
free(ptr);