Index: third_party/libxslt/libxslt/attrvt.c |
diff --git a/third_party/libxslt/libxslt/attrvt.c b/third_party/libxslt/libxslt/attrvt.c |
index bda0910e0e6cbbc68737ae957cf495e0d6999802..125159cedf3de40aa69b2d61659bf70d6036e2d3 100644 |
--- a/third_party/libxslt/libxslt/attrvt.c |
+++ b/third_party/libxslt/libxslt/attrvt.c |
@@ -147,7 +147,7 @@ static xsltAttrVTPtr |
xsltSetAttrVTsegment(xsltAttrVTPtr avt, void *val) { |
if (avt->nb_seg >= avt->max_seg) { |
avt = (xsltAttrVTPtr) xmlRealloc(avt, sizeof(xsltAttrVT) + |
- avt->max_seg * sizeof(void *)); |
+ avt->max_seg * sizeof(void *)); |
if (avt == NULL) { |
return NULL; |
} |
@@ -178,7 +178,7 @@ xsltCompileAttr(xsltStylesheetPtr style, xmlAttrPtr attr) { |
if ((style == NULL) || (attr == NULL) || (attr->children == NULL)) |
return; |
- if ((attr->children->type != XML_TEXT_NODE) || |
+ if ((attr->children->type != XML_TEXT_NODE) || |
(attr->children->next != NULL)) { |
xsltTransformError(NULL, style, attr->parent, |
"Attribute '%s': The content is expected to be a single text " |
@@ -248,7 +248,7 @@ xsltCompileAttr(xsltStylesheetPtr style, xmlAttrPtr attr) { |
/* Need to check for literal (bug539741) */ |
if ((*cur == '\'') || (*cur == '"')) { |
char delim = *(cur++); |
- while ((*cur != 0) && (*cur != delim)) |
+ while ((*cur != 0) && (*cur != delim)) |
cur++; |
if (*cur != 0) |
cur++; /* skip the ending delimiter */ |