X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Falvis.c;h=60beacabeb277594afff06224dff766fcf38c32c;hb=8fba721bcf0f18f9b03cf62c3aaf0a064fd7d9a7;hp=851064fdbb723b26569ffbf629862397afd6946f;hpb=fd10c2116175815cf6c2da430a439c27991e1918;p=idzebra-moved-to-github.git diff --git a/index/alvis.c b/index/alvis.c index 851064f..60beaca 100644 --- a/index/alvis.c +++ b/index/alvis.c @@ -1,5 +1,5 @@ -/* $Id: alvis.c,v 1.9 2006-12-22 12:13:40 adam Exp $ - Copyright (C) 1995-2006 +/* $Id: alvis.c,v 1.11 2007-01-15 15:10:16 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -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; }