mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
should be RETURN_ not RETVAL_
This commit is contained in:
parent
65ae8773b5
commit
ee82fb781a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user