| Index: third_party/libxslt/libexslt/common.c
|
| diff --git a/third_party/libxslt/libexslt/common.c b/third_party/libxslt/libexslt/common.c
|
| index 77f352e5ab57a0c5a3a809be04a3edd1bec6af9f..451a60d80af76a3dab7b49439603f3c00c0d045e 100644
|
| --- a/third_party/libxslt/libexslt/common.c
|
| +++ b/third_party/libxslt/libexslt/common.c
|
| @@ -46,16 +46,16 @@ exsltNodeSetFunction (xmlXPathParserContextPtr ctxt, int nargs) {
|
| if (fragment == NULL) {
|
| xsltTransformError(tctxt, NULL, tctxt->inst,
|
| "exsltNodeSetFunction: Failed to create a tree fragment.\n");
|
| - tctxt->state = XSLT_STATE_STOPPED;
|
| + tctxt->state = XSLT_STATE_STOPPED;
|
| return;
|
| }
|
| xsltRegisterLocalRVT(tctxt, fragment);
|
|
|
| strval = xmlXPathPopString (ctxt);
|
| -
|
| +
|
| txt = xmlNewDocText (fragment, strval);
|
| xmlAddChild((xmlNodePtr) fragment, txt);
|
| - obj = xmlXPathNewNodeSet(txt);
|
| + obj = xmlXPathNewNodeSet(txt);
|
| if (obj == NULL) {
|
| xsltTransformError(tctxt, NULL, tctxt->inst,
|
| "exsltNodeSetFunction: Failed to create a node set object.\n");
|
| @@ -69,7 +69,7 @@ exsltNodeSetFunction (xmlXPathParserContextPtr ctxt, int nargs) {
|
| }
|
| if (strval != NULL)
|
| xmlFree (strval);
|
| -
|
| +
|
| valuePush (ctxt, obj);
|
| }
|
| }
|
|
|