diff options
-rw-r--r-- | sxmlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ XMLNode* find_child_node(XMLNode *node, const char* tagname) { void print_article_title(XMLNode *root) { XMLNode* next = root; - const char *path[] = {"front", "article-meta", "title-group", "article-title", NULL}; + static const char *path[] = {"front", "article-meta", "title-group", "article-title", NULL}; for (int i = 0; path[i]; i++) { next = find_child_node(next, path[i]); |