projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix CCL->RPN code for attribute strings.
[yaz-moved-to-github.git]
/
zutil
/
yaz-ccl.c
diff --git
a/zutil/yaz-ccl.c
b/zutil/yaz-ccl.c
index
5b47e79
..
8ed2177
100644
(file)
--- 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.
*
* 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 <stdio.h>
*/
#include <stdio.h>
@@
-124,7
+124,7
@@
void ccl_pquery (WRBUF w, struct ccl_rpn_node *p)
wrbuf_puts (w, tmpattr);
break;
case CCL_RPN_ATTR_STRING:
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;
wrbuf_puts (w, tmpattr);
wrbuf_puts(w, att->value.str);
break;