]> granicus.if.org Git - php/commitdiff
a little more whitespace fix
authorShane Caraveo <shane@php.net>
Mon, 8 Jul 2002 01:32:34 +0000 (01:32 +0000)
committerShane Caraveo <shane@php.net>
Mon, 8 Jul 2002 01:32:34 +0000 (01:32 +0000)
ext/soap/soap.c

index 707dea29ac98735e9688aee15ee8b1ce911f2de6..23daffe421f44f134967cd2ab30933e6e30eb28e 100644 (file)
@@ -1145,67 +1145,36 @@ PHP_FUNCTION(soapobject)
 
 
 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)