Skip to content

Commit 0d2f65e

Browse files
authored
Merge pull request swoole#1410 from doubaokun/master
Updated parameter name for swoole_async_dns_lookup.
2 parents 4363194 + 5c3e6df commit 0d2f65e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swoole.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_swoole_async_write, 0, 0, 2)
268268
ZEND_END_ARG_INFO()
269269

270270
ZEND_BEGIN_ARG_INFO_EX(arginfo_swoole_async_dns_lookup, 0, 0, 2)
271-
ZEND_ARG_INFO(0, domain_name)
272-
ZEND_ARG_INFO(0, content)
271+
ZEND_ARG_INFO(0, hostname)
272+
ZEND_ARG_INFO(0, callback)
273273
ZEND_END_ARG_INFO()
274274

275275
#ifdef SW_COROUTINE

0 commit comments

Comments
 (0)