summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2008-05-20 13:28:57 +0000
committerDavid Soria Parra <dsp@php.net>2008-05-20 13:28:57 +0000
commit6e34cbfb90998da1fff062af3ec495bb9da73b32 (patch)
tree096b8221c53166be2b03215d97d23b1efeeae6ff
parentd5befc743d16e407a88ad5ad7f83a93045b6fad6 (diff)
downloadphp-git-6e34cbfb90998da1fff062af3ec495bb9da73b32.tar.gz
Coding style
-rw-r--r--ext/soap/soap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 50eae66e36..effd06b877 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -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) {