X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Freclists.c;h=99c033e02a5ca86eb08142590542282bddf3ba27;hb=0aef52e59b51c698a6025bdd82df77ff4b2e4390;hp=7662561ddb11494a0534d19f11c95aa5e5942604;hpb=0aa1114a00aa7d78e6e9dd8099f4c9b3d93f5f94;p=pazpar2-moved-to-github.git diff --git a/src/reclists.c b/src/reclists.c index 7662561..99c033e 100644 --- a/src/reclists.c +++ b/src/reclists.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2012 Index Data + Copyright (C) 2006-2013 Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -227,10 +227,6 @@ void reclist_limit(struct reclist *l, struct session *se) pp = &p->sorted_next; num++; } - else - { - yaz_log(YLOG_LOG, "session_check_cluster returned false"); - } } } *pp = 0; @@ -414,6 +410,7 @@ struct record_cluster *reclist_insert(struct reclist *l, cluster->relevance_explain2 = wrbuf_alloc(); /* attach to hash list */ *p = new; + l->num_records++; } yaz_mutex_leave(l->mutex); return cluster;