cvs: pear /PECL/soap soap.c
| From: | Shane Caraveo | Date: | Mon, 08 Jul 2002 01:32:34 +0000 |
| Subject: | cvs: pear /PECL/soap soap.c | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4960@lists.php.net to get a copy of this message | ||
shane Sun Jul 7 21:32:34 2002 EDT
Modified files:
/pear/PECL/soap soap.c
Log:
a little more whitespace fix
Index: pear/PECL/soap/soap.c
diff -u pear/PECL/soap/soap.c:1.2 pear/PECL/soap/soap.c:1.3
--- pear/PECL/soap/soap.c:1.2 Sun Jul 7 21:23:06 2002
+++ pear/PECL/soap/soap.c Sun Jul 7 21:32:34 2002
@@ -1145,67 +1145,36 @@
PHP_FUNCTION(__parse)
-
{
-
char *message, *function;
-
int message_len, function_len;
-
int num_params;
-
zval **ret_params;
-
sdlPtr sdl;
-
sdlFunctionPtr fn;
-
-
if(zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &message,
&message_len, &function, &function_len) == FAILURE)
-
php_error(E_ERROR, "Invalid arguments to SoapObject->__parse");
-
-
FETCH_THIS_SDL(sdl);
-
-
if(sdl != NULL)
-
{
-
fn = get_function(sdl, function);
-
if(fn != NULL)
-
parse_packet_soap(getThis(), message, message_len, fn, NULL, &ret_params, &num_params);
-
}
-
else
-
parse_packet_soap(getThis(), message, message_len, NULL, function, &ret_params,
&num_params);
-
-
if(num_params > 0)
-
{
-
*return_value = *ret_params[0];
-
zval_add_ref(&return_value);
-
efree(ret_params);
-
}
-
else
-
ZVAL_NULL(return_value)
-
}
PHP_FUNCTION(__call)