projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d4e4ed
)
Using atoizint for staticrank
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 22 Dec 2006 13:57:03 +0000
(13:57 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 22 Dec 2006 13:57:03 +0000
(13:57 +0000)
index/alvis.c
patch
|
blob
|
history
diff --git
a/index/alvis.c
b/index/alvis.c
index
851064f
..
cb98050
100644
(file)
--- a/
index/alvis.c
+++ b/
index/alvis.c
@@
-1,4
+1,4
@@
-/* $Id: alvis.c,v 1.9 2006-12-22 12:13:40 adam Exp $
+/* $Id: alvis.c,v 1.10 2006-12-22 13:57:03 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
@@
-434,13
+434,7
@@
static void index_record(struct filter_info *tinfo,struct recExtractCtrl *ctrl,
sscanf(id_str, "%255s", ctrl->match_criteria);
if (rank_str)
- ctrl->staticrank =
-#if HAVE_ATOLL
- atoll(rank_str);
-#else
- atoi(rank_str);
-#endif
-
+ ctrl->staticrank = atozint(rank_str);
ptr = ptr->children;
}