Skip to content

Commit

Permalink
Revert fix for bug #53493 to be compliant with the XML specification
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleZ committed Dec 13, 2010
1 parent 1081bd1 commit d4b95b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
15 changes: 0 additions & 15 deletions ext/xmlrpc/tests/bug53493.phpt

This file was deleted.

5 changes: 1 addition & 4 deletions ext/xmlrpc/xmlrpc-epi-php.c
Original file line number Diff line number Diff line change
Expand Up @@ -845,10 +845,7 @@ PHP_FUNCTION(xmlrpc_decode)
}

if (return_value_used) {
zval* retval;
char *trimmed = php_trim(arg1, arg1_len, NULL, 0, NULL, 1 TSRMLS_CC);

retval = decode_request_worker(trimmed, strlen(trimmed), arg2_len ? arg2 : NULL, NULL);
zval* retval = decode_request_worker(arg1, arg1_len, arg2_len ? arg2 : NULL, NULL);
if (retval) {
*return_value = *retval;
FREE_ZVAL(retval);
Expand Down

0 comments on commit d4b95b8

Please sign in to comment.