From: Adam Dickmeiss Date: Wed, 18 May 2011 08:43:21 +0000 (+0200) Subject: yaz-client: reformat X-Git-Tag: v4.2.0~4 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3236c79e8d4287738236a804fe887ce4094fc9e9;p=yaz-moved-to-github.git yaz-client: reformat --- diff --git a/client/client.c b/client/client.c index 351594e..fa55c32 100644 --- a/client/client.c +++ b/client/client.c @@ -284,7 +284,6 @@ int send_apdu(Z_APDU *a) buf = odr_getbuf(out, &len, 0); if (ber_file) odr_dumpBER(ber_file, buf, len); - /* printf ("sending APDU of size %d\n", len); */ do_hex_dump(buf, len); if (cs_put(conn, buf, len) < 0) { @@ -4349,9 +4348,8 @@ static void handle_srw_response(Z_SRW_searchRetrieveResponse *res) } if (res->numberOfRecords) printf("Number of hits: " ODR_INT_PRINTF "\n", *res->numberOfRecords); - if (res->facetList) { + if (res->facetList) display_facets(res->facetList); - } for (i = 0; inum_records; i++) handle_srw_record(res->records + i); }