Fix variable shadowing that makes the previous fix ineffective.

This commit is contained in:
Alcaro 2013-11-03 19:56:20 +01:00
parent ae981ab946
commit 6d8988d36d

View File

@ -143,8 +143,8 @@ static struct rxml_attrib_node *rxml_parse_attrs(const char *str)
if (!end || end != (elem + strlen(elem) - 1))
goto end;
char *attrib = strdup_range_escape(elem, eq);
char *value = strdup_range_escape(eq + 2, end);
attrib = strdup_range_escape(elem, eq);
value = strdup_range_escape(eq + 2, end);
if (!attrib || !value)
goto end;