diff --git a/ext/soap/soap.c b/ext/soap/soap.c index c6634a0ba50..17abdfc3274 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2851,8 +2851,9 @@ PHP_METHOD(SoapClient, SoapClient) if (zend_ascii_hash_find(ht, "connection_timeout", sizeof("connection_timeout"), (void**)&tmp) == SUCCESS) { convert_to_long(*tmp); - if(Z_LVAL_PP(tmp) >= 0) + if(Z_LVAL_PP(tmp) >= 0) { client->connection_timeout = Z_LVAL_PP(tmp); + } } if (context) {