X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fclient.c;h=5f2df7bfc2623b9f57eca89bd5f9a6ae1f0c6668;hb=d8df693f0e28a9aabc4ac0cac4f492facc703086;hp=39140a770eecfaf71bf100b73be2904f372a4730;hpb=87e9791ee9a652b3665d59ca5bf0e927e935e666;p=pazpar2-moved-to-github.git diff --git a/src/client.c b/src/client.c index 39140a7..5f2df7b 100644 --- a/src/client.c +++ b/src/client.c @@ -646,7 +646,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); @@ -679,6 +679,7 @@ void client_record_response(struct client *cl) else { client_record_ingest(cl); + *got_records = 1; } } }