summaryrefslogtreecommitdiff
path: root/ext/soap/php_sdl.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-01-18 23:19:36 +0000
committerMarcus Boerger <helly@php.net>2004-01-18 23:19:36 +0000
commitf0aacc09d28fe6ef5822af55aef7d052f378a9f4 (patch)
treeb8e5cc1da67d114f9904e8657a5fc18a9489a5ba /ext/soap/php_sdl.c
parent517c5f5fc5632fee33231f949df669753bb537aa (diff)
downloadphp-git-f0aacc09d28fe6ef5822af55aef7d052f378a9f4.tar.gz
Fix a warning
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r--ext/soap/php_sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c
index 23f8c8c08a..b898035898 100644
--- a/ext/soap/php_sdl.c
+++ b/ext/soap/php_sdl.c
@@ -73,7 +73,6 @@ encodePtr get_encoder(sdlPtr sdl, const char *ns, const char *type)
{
encodePtr enc = NULL;
char *nscat;
- TSRMLS_FETCH();
nscat = emalloc(strlen(ns) + strlen(type) + 2);
sprintf(nscat, "%s:%s", ns, type);
@@ -303,6 +302,7 @@ static void load_wsdl_ex(char *struri, sdlCtx *ctx, int include)
xmlNodePtr root, definitions, trav;
xmlAttrPtr targetNamespace;
int old_error_reporting;
+ TSRMLS_FETCH();
/* TODO: WSDL Caching */