From: Sebastian Hammer Date: Wed, 23 Jul 2008 17:29:37 +0000 (+0000) Subject: Smallish mod to CQL generation X-Git-Tag: v1.1.0~136^2 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=bed5126c1424c040d55c1f779bb48ff476f6474d;p=pazpar2-moved-to-github.git Smallish mod to CQL generation --- 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