projects
/
m6w6
/
ext-ares
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix build with c-ares >= 1.6.1
[m6w6/ext-ares]
/
ares.c
diff --git
a/ares.c
b/ares.c
index d3c7d25a9a03471180b725451de5b55bdcd2d6d2..7191268dded77ee009b39f7b881310ce97b38380 100644
(file)
--- a/
ares.c
+++ b/
ares.c
@@
-1649,7
+1649,7
@@
static ZEND_RSRC_DTOR_FUNC(php_ares_query_le_dtor)
static PHP_MINIT_FUNCTION(ares)
{
#ifdef HAVE_ARES_LIBRARY_INIT
- if (ARES_SUCCESS != ares_library_init()) {
+ if (ARES_SUCCESS != ares_library_init(
ARES_LIB_INIT_ALL
)) {
return FAILURE;
}
#endif