diff options
Diffstat (limited to 'ext/standard/fsock.c')
-rw-r--r-- | ext/standard/fsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/fsock.c b/ext/standard/fsock.c index 6ff610ca99..49da899934 100644 --- a/ext/standard/fsock.c +++ b/ext/standard/fsock.c @@ -211,7 +211,7 @@ static void php_fsockopen(INTERNAL_FUNCTION_PARAMETERS, int persistent) { pval **args[5]; int *sock=emalloc(sizeof(int)); int *sockp; - int arg_count=ARG_COUNT(ht); + int arg_count=ZEND_NUM_ARGS(); int socketd = -1; unsigned char udp = 0; struct timeval timeout = { 60, 0 }; |