For xslt error msg, refer to proper name
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 28 Oct 2011 08:48:46 +0000 (10:48 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 28 Oct 2011 08:48:46 +0000 (10:48 +0200)
src/service_xslt.c

index bd4b580..925d618 100644 (file)
@@ -73,7 +73,7 @@ int service_xslt_config(struct conf_service *service, xmlNode *n)
         else
         {
             yaz_log(YLOG_FATAL, "Invalid attribute %s for xslt element",
-                    (const char *) n->name);
+                    (const char *) attr->name);
             return -1;
         }
     if (!id)