Modify length calculation for ranking
[pazpar2-moved-to-github.git] / src / zeerex.c
index 66856e7..dcfc4b7 100644 (file)
@@ -385,7 +385,7 @@ static struct zr_map *map(NMEM m, xmlNode *node)
 
 static Zr_setting *findsetting(NMEM m, xmlNode *node, char *name)
 {
-    static Zr_setting *r = 0;
+    static Zr_setting *r = 0; /* thread pr */
     xmlNode *n;
     for (n = node->children; n; n = n->next)
     {
@@ -701,7 +701,9 @@ struct zr_explain *zr_read_file(NMEM m, const char *fn)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab
  */
+