@@ -380,12 +380,15 @@ int make_http_soap_request(zval *this_ptr,
380
380
int level = Z_LVAL_P (tmp ) & 0x0f ;
381
381
int kind = Z_LVAL_P (tmp ) & SOAP_COMPRESSION_DEFLATE ;
382
382
383
- if (level > 9 ) {level = 9 ;}
383
+ if (level > 9 ) {
384
+ level = 9 ;
385
+ }
384
386
385
- if ((Z_LVAL_P (tmp ) & SOAP_COMPRESSION_ACCEPT ) != 0 ) {
387
+ if ((Z_LVAL_P (tmp ) & SOAP_COMPRESSION_ACCEPT ) != 0 ) {
386
388
smart_str_append_const (& soap_headers_z ,"Accept-Encoding: gzip, deflate\r\n" );
387
- }
388
- if (level > 0 ) {
389
+ }
390
+
391
+ if (level > 0 ) {
389
392
zend_function * fn ;
390
393
zval retval ;
391
394
zval params [3 ];
@@ -416,7 +419,7 @@ int make_http_soap_request(zval *this_ptr,
416
419
ZVAL_LONG (& params [2 ], 0x1f );
417
420
}
418
421
419
- zend_call_known_function (fn , NULL , NULL , & retval , param_num , params , NULL );
422
+ zend_call_known_function (fn , NULL , NULL , & retval , param_num , params , NULL );
420
423
zval_ptr_dtor (& params [0 ]);
421
424
if (Z_TYPE (retval ) == IS_STRING ) {
422
425
request = Z_STR (retval );
@@ -428,7 +431,7 @@ int make_http_soap_request(zval *this_ptr,
428
431
smart_str_free (& soap_headers_z );
429
432
return FALSE;
430
433
}
431
- }
434
+ }
432
435
}
433
436
434
437
tmp = Z_CLIENT_HTTPSOCKET_P (this_ptr );
@@ -461,7 +464,9 @@ int make_http_soap_request(zval *this_ptr,
461
464
462
465
try_again :
463
466
if (phpurl == NULL || phpurl -> host == NULL ) {
464
- if (phpurl != NULL ) {php_url_free (phpurl );}
467
+ if (phpurl != NULL ) {
468
+ php_url_free (phpurl );
469
+ }
465
470
if (request != buf ) {
466
471
zend_string_release_ex (request , 0 );
467
472
}
@@ -1052,7 +1057,7 @@ int make_http_soap_request(zval *this_ptr,
1052
1057
if (sempos != NULL ) {
1053
1058
options = sempos + 1 ;
1054
1059
} else {
1055
- break ;
1060
+ break ;
1056
1061
}
1057
1062
}
1058
1063
}
@@ -1509,7 +1514,7 @@ static zend_string* get_http_body(php_stream *stream, int close, char *headers)
1509
1514
if (len_read <= 0 ) {
1510
1515
/* Error or EOF */
1511
1516
done = TRUE;
1512
- break ;
1517
+ break ;
1513
1518
}
1514
1519
len_size += len_read ;
1515
1520
http_buf_size += len_read ;
0 commit comments