Various minor text tweaks.
[yaz-moved-to-github.git] / src / xml_include.c
index 61a63f9..8008610 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 
@@ -101,8 +101,6 @@ static int config_include_src(yaz_xml_include_t config, xmlNode **np,
         yaz_glob_res_t glob_res;
 
         glob_ret = yaz_file_glob2(wrbuf_cstr(w), &glob_res, config->glob_flags);
-        yaz_log(YLOG_LOG, "yaz_file_glob returned w=%s %d", wrbuf_cstr(w),
-                glob_ret);
         if (glob_ret == 0)
         {
             size_t i;
@@ -133,6 +131,7 @@ static int process_config_includes(yaz_xml_include_t config, xmlNode *n)
                 xmlChar *src = xmlGetProp(n, (xmlChar *) "src");
                 if (src)
                 {
+                    /* src must be preserved, because n is destroyed */
                     int ret = config_include_src(config, &n,
                                                  (const char *) src);
                     xmlFree(src);