should be RETURN_ not RETVAL_

This commit is contained in:
Rob Richards 2006-08-07 10:15:12 +00:00
parent 65ae8773b5
commit ee82fb781a

View File

@ -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);