X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fclient.c;h=ee6ead292b49b2bf698f1db7f04660f760be0cff;hb=f4ebbe4de40e8177ca55a36e9dd77152808a9447;hp=0cf2e07eebbbf5d18b876b35195b2107ca573fbe;hpb=00c8ef21997734073c329c6f4bd9ee293c01d61b;p=pazpar2-moved-to-github.git diff --git a/src/client.c b/src/client.c index 0cf2e07..ee6ead2 100644 --- a/src/client.c +++ b/src/client.c @@ -645,7 +645,7 @@ static void client_record_ingest(struct client *cl) } } -void client_record_response(struct client *cl) +void client_record_response(struct client *cl, int *got_records) { struct connection *co = cl->connection; ZOOM_connection link = connection_get_link(co); @@ -678,6 +678,7 @@ void client_record_response(struct client *cl) else { client_record_ingest(cl); + *got_records = 1; } } }