From: Adam Dickmeiss Date: Mon, 23 Jun 2003 12:38:39 +0000 (+0000) Subject: Fix CCL->RPN code for attribute strings. X-Git-Tag: YAZ.2.0.4~37 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=1528b5eb5d95e8a0cb788b30af87178ca6534cf9;hp=7a7b5bfb988286089e1fbd498a8cfc4d2a5799e0 Fix CCL->RPN code for attribute strings. --- diff --git a/debian/changelog b/debian/changelog index 98f8b35..b4dd977 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +yaz (2.0.3-3) unstable; urgency=low + + * Fix CCL->RPN code for attribute strings. + + -- Adam Dickmeiss Mon, 23 Jun 2003 14:38:01 +0200 + yaz (2.0.3-2) unstable; urgency=low * String attributes for CCL parser. diff --git a/zutil/yaz-ccl.c b/zutil/yaz-ccl.c index 5b47e79..8ed2177 100644 --- a/zutil/yaz-ccl.c +++ b/zutil/yaz-ccl.c @@ -2,7 +2,7 @@ * Copyright (c) 1996-2003, Index Data. * See the file LICENSE for details. * - * $Id: yaz-ccl.c,v 1.20 2003-06-23 10:22:21 adam Exp $ + * $Id: yaz-ccl.c,v 1.21 2003-06-23 12:38:39 adam Exp $ */ #include @@ -124,7 +124,7 @@ void ccl_pquery (WRBUF w, struct ccl_rpn_node *p) wrbuf_puts (w, tmpattr); break; case CCL_RPN_ATTR_STRING: - sprintf(tmpattr, "%d ", att->type); + sprintf(tmpattr, "%d=", att->type); wrbuf_puts (w, tmpattr); wrbuf_puts(w, att->value.str); break;