X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=src%2Fhttp_command.c;h=f4cc792803eca3c196bba1904f36a3305059e4a0;hb=e9e5603afa14e52f004d64211345f1c3ab17a6a3;hp=64331a468c23adc3455413784a3674d02fa323ca;hpb=817e3ec506c4095bc4fcc1923cee36153ef4ee43;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 64331a4..f4cc792 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -788,9 +788,9 @@ static void bytarget_response(struct http_channel *c, struct http_session *s, wrbuf_printf(c->wrbuf, "%d\n", ht[i].records - ht[i].filtered); + wrbuf_printf(c->wrbuf, "%d\n", ht[i].filtered); if (version >= 2) { - wrbuf_printf(c->wrbuf, "%d\n", ht[i].filtered); wrbuf_printf(c->wrbuf, "" ODR_INT_PRINTF "\n", ht[i].approximation); }