summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2006-08-07 10:15:12 +0000
committerRob Richards <rrichards@php.net>2006-08-07 10:15:12 +0000
commitee82fb781a21a272bea8535e6ee150d4d927c10a (patch)
treecef251fed53df434fb917bee9588738e5bde598b
parent65ae8773b5861facff38502c3f6de33f0b6190b4 (diff)
downloadphp-git-ee82fb781a21a272bea8535e6ee150d4d927c10a.tar.gz
should be RETURN_ not RETVAL_
-rw-r--r--ext/simplexml/simplexml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 0961815ddf..d106276fed 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -1200,9 +1200,9 @@ SXE_METHOD(asXML)
int bytes;
bytes = xmlSaveFile(filename, (xmlDocPtr) sxe->document->ptr);
if (bytes == -1) {
- RETVAL_FALSE;
+ RETURN_FALSE;
} else {
- RETVAL_TRUE;
+ RETURN_TRUE;
}
} else {
outbuf = xmlOutputBufferCreateFilename(filename, NULL, 0);