From: Adam Dickmeiss Date: Mon, 2 Aug 2010 11:26:33 +0000 (+0200) Subject: Avoid mix decl and code X-Git-Tag: v1.4.4~15 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=242a5cc1d459374cbdd0e1a4e102efdf386063f6;p=pazpar2-moved-to-github.git Avoid mix decl and code --- diff --git a/src/client.c b/src/client.c index c7c0443..d9c2287 100644 --- a/src/client.c +++ b/src/client.c @@ -560,9 +560,9 @@ static int client_set_facets_request(struct client *cl, ZOOM_connection link) { struct session *session = client_get_session(cl); struct conf_service *service = session->service; int num = service->num_metadata; - yaz_log(YLOG_DEBUG, "Facet settings, sort: %s count: %s", opt_facet_term_sort, opt_facet_term_count); WRBUF wrbuf = wrbuf_alloc(); int first = 1; + yaz_log(YLOG_DEBUG, "Facet settings, sort: %s count: %s", opt_facet_term_sort, opt_facet_term_count); for (index = 0; index < num; index++) { struct conf_metadata *conf_meta = &service->metadata[index]; if (conf_meta->termlist) {