summaryrefslogtreecommitdiff
path: root/ext/standard/php_dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_dns.h')
-rw-r--r--ext/standard/php_dns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_dns.h b/ext/standard/php_dns.h
index f37bce539a..af6c091881 100644
--- a/ext/standard/php_dns.h
+++ b/ext/standard/php_dns.h
@@ -34,7 +34,7 @@
res_nsearch(res, dname, class, type, answer, anslen);
#define php_dns_free_handle(res) \
res_nclose(res); \
- php_dns_free_res(*res)
+ php_dns_free_res(res)
#elif defined(HAVE_RES_SEARCH)
#define php_dns_search(res, dname, class, type, answer, anslen) \