From bed5126c1424c040d55c1f779bb48ff476f6474d Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Wed, 23 Jul 2008 17:29:37 +0000 Subject: [PATCH] Smallish mod to CQL generation --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index 1f8de6d..208535d 100644 --- a/src/client.c +++ b/src/client.c @@ -596,7 +596,7 @@ static char *make_cqlquery(struct client *cl) yaz_log(YLOG_WARN, "failed to generate CQL query, code=%d", status); return 0; } - r = xstrdup(wrbuf_buf(wrb)); + r = xstrdup(wrbuf_cstr(wrb)); wrbuf_destroy(wrb); odr_reset(global_parameters.odr_out); // releases the zquery -- 1.7.10.4