yaz-client: reformat
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 18 May 2011 08:43:21 +0000 (10:43 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 18 May 2011 08:43:21 +0000 (10:43 +0200)
client/client.c

index 351594e..fa55c32 100644 (file)
@@ -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; i<res->num_records; i++)
         handle_srw_record(res->records + i);
 }