X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=client%2Fclient.c;h=23b59e4fb8e0edef3bb50fcf4828397f88b3a3c4;hp=663b056d01428a4520ac9a61edc5961c93bda24e;hb=82f61d1dd58f64119e33ed88d4ab7572b0ad1083;hpb=78db92d203c03c589beb89e039e07cdc0c53ccc2 diff --git a/client/client.c b/client/client.c index 663b056..23b59e4 100644 --- a/client/client.c +++ b/client/client.c @@ -146,7 +146,6 @@ static char scan_position[64]; static int scan_size = 20; static char cur_host[200]; static Odr_int last_hit_count = 0; - static int pretty_xml = 0; typedef enum { @@ -4366,6 +4365,8 @@ static void handle_srw_response(Z_SRW_searchRetrieveResponse *res) printf("Number of hits: " ODR_INT_PRINTF "\n", *res->numberOfRecords); if (res->facetList) display_facets(res->facetList); + if (res->suggestions) + printf("Suggestions:\n%s\n", res->suggestions); for (i = 0; inum_records; i++) handle_srw_record(res->records + i); }