projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
section on relation attributes added
[idzebra-moved-to-github.git]
/
rset
/
rset.c
diff --git
a/rset/rset.c
b/rset/rset.c
index
b71fe78
..
780727a
100644
(file)
--- a/
rset/rset.c
+++ b/
rset/rset.c
@@
-1,4
+1,4
@@
-/* $Id: rset.c,v 1.52 2005-06-22 19:42:39 adam Exp $
+/* $Id: rset.c,v 1.54 2006-06-22 22:58:59 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-175,6
+175,7
@@
RSET rset_create_base(const struct rset_control *sel,
rset->hits_limit = 0;
rset->hits_round = 1000;
rset->keycontrol = kcontrol;
rset->hits_limit = 0;
rset->hits_round = 1000;
rset->keycontrol = kcontrol;
+
(*kcontrol->inc)(kcontrol);
rset->scope = scope;
rset->term = term;
(*kcontrol->inc)(kcontrol);
rset->scope = scope;
rset->term = term;
@@
-243,7
+244,6
@@
RSET rset_dup (RSET rs)
(rs->refcount)++;
yaz_log(log_level, "rs_dup(%s), rs=%p, refcount=%d",
rs->control->desc, rs, rs->refcount);
(rs->refcount)++;
yaz_log(log_level, "rs_dup(%s), rs=%p, refcount=%d",
rs->control->desc, rs, rs->refcount);
- (*rs->keycontrol->inc)(rs->keycontrol);
return rs;
}
return rs;
}
@@
-403,3
+403,11
@@
void rset_visit(RSET rset, int level)
rset_visit(rset->children[i], level+1);
}
rset_visit(rset->children[i], level+1);
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+