Bump copyright year
[pazpar2-moved-to-github.git] / src / reclists.c
index 7662561..ceedfc5 100644 (file)
@@ -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
@@ -414,6 +414,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;