summaryrefslogtreecommitdiff
path: root/ext/sockets
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2002-02-15 17:33:08 +0000
committerJason Greene <jason@php.net>2002-02-15 17:33:08 +0000
commit0a2438b0573798a41db8d4080814ee78152b2936 (patch)
tree43cec0209277f7db28b221b34c0978be584f09dc /ext/sockets
parentcd88ac738b82c9d72b7a9e72891de28aece20dfc (diff)
downloadphp-git-0a2438b0573798a41db8d4080814ee78152b2936.tar.gz
Fix parse string
(Since arg6 is initialized at null this still catches the wrong param condition)
Diffstat (limited to 'ext/sockets')
-rw-r--r--ext/sockets/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index 4157050b62..3aa754ceae 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -1347,7 +1347,7 @@ PHP_FUNCTION(socket_recvfrom)
int retval, arg3, arg4;
char *recv_buf, *address;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rzllz|z!", &arg1, &arg2, &arg3, &arg4, &arg5, &arg6) == FAILURE)
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rzllz|z", &arg1, &arg2, &arg3, &arg4, &arg5, &arg6) == FAILURE)
return;
ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket);