summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog.c b/catalog.c
index 7c328f2a..711761e7 100644
--- a/catalog.c
+++ b/catalog.c
@@ -3510,7 +3510,7 @@ xmlCatalogLocalResolveURI(void *catalogs, const xmlChar *URI) {
const xmlChar *
xmlCatalogGetSystem(const xmlChar *sysID) {
xmlChar *ret;
- xmlChar result[1000];
+ static xmlChar result[1000];
static int msg = 0;
if (!xmlCatalogInitialized)
@@ -3554,7 +3554,7 @@ xmlCatalogGetSystem(const xmlChar *sysID) {
const xmlChar *
xmlCatalogGetPublic(const xmlChar *pubID) {
xmlChar *ret;
- xmlChar result[1000];
+ static xmlChar result[1000];
static int msg = 0;
if (!xmlCatalogInitialized)