]> granicus.if.org Git - php/commitdiff
Coding style
authorDavid Soria Parra <dsp@php.net>
Tue, 20 May 2008 13:28:57 +0000 (13:28 +0000)
committerDavid Soria Parra <dsp@php.net>
Tue, 20 May 2008 13:28:57 +0000 (13:28 +0000)
ext/soap/soap.c

index 50eae66e36f3e91bcf265016eac6fb349648a1c0..effd06b8772ce932a9f4670da6c3c36abb9beb12 100644 (file)
@@ -2465,8 +2465,9 @@ PHP_METHOD(SoapClient, SoapClient)
 
                if (zend_hash_find(ht, "connection_timeout", sizeof("connection_timeout"), (void**)&tmp) == SUCCESS) {
                        convert_to_long(*tmp);
-                       if (Z_LVAL_PP(tmp) > 0)
-                       add_property_long(this_ptr, "_connection_timeout", Z_LVAL_PP(tmp));
+                       if (Z_LVAL_PP(tmp) > 0) {
+                               add_property_long(this_ptr, "_connection_timeout", Z_LVAL_PP(tmp));
+                       }
                }
 
                if (context) {