Skip to content

Commit 66a4ea4

Browse files
committed
long
1 parent efb6560 commit 66a4ea4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/sockets/sockets.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2331,10 +2331,10 @@ PHP_FUNCTION(socket_set_option)
23312331

23322332
#if defined(TCP_USER_TIMEOUT)
23332333
case TCP_USER_TIMEOUT: {
2334-
zval timeout = zval_get_long(arg4);
2334+
zend_long timeout = zval_get_long(arg4);
23352335

23362336
// TCP_USER_TIMEOUT unsigned int
2337-
if (ZEND_LONG_UINT_OVFL(ov)) {
2337+
if (ZEND_LONG_UINT_OVFL(timeout)) {
23382338
zend_argument_value_error(4, "must be of between 0 and %u", UINT_MAX);
23392339
RETURN_THROWS();
23402340
}

0 commit comments

Comments
 (0)