summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 76a737f8f..9da1f3eba 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1551,7 +1551,7 @@ static const char *nodename(xmlNode *node, char *buf, int len)
static void visit_one_node(xmlNode *node)
{
char *content;
- char buffer[MAXNAME];
+ static char buffer[MAXNAME];
const char *name;
content = node->content;