From: Mike Taylor Date: Wed, 7 Sep 2011 16:46:01 +0000 (+0100) Subject: Fix conv_xslt() error-reporting when stylesheet is not found. X-Git-Tag: v4.2.15~2^2 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=828e4c72181fb748b1f12072351f4cd3e5be4dd5;p=yaz-moved-to-github.git Fix conv_xslt() error-reporting when stylesheet is not found. (The value of fullpath is meaningless in this situation.) --- diff --git a/src/record_conv.c b/src/record_conv.c index c644c7d..0ec4f13 100644 --- a/src/record_conv.c +++ b/src/record_conv.c @@ -177,7 +177,7 @@ static int conv_xslt(yaz_record_conv_t p, const xmlNode *ptr) { wrbuf_printf(p->wr_error, "Element :" " could not locate stylesheet '%s'", - stylesheet, fullpath); + stylesheet, stylesheet); if (p->path) wrbuf_printf(p->wr_error, " with path '%s'", p->path);