X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Falvis.c;h=60beacabeb277594afff06224dff766fcf38c32c;hb=b19b79e382ef8196f1625763db1af3a82b1e0c81;hp=2f917634ef11145d629161311353d5d3211b0667;hpb=be6820b238db37a855dd7b940377a427b7046d73;p=idzebra-moved-to-github.git diff --git a/index/alvis.c b/index/alvis.c index 2f91763..60beaca 100644 --- a/index/alvis.c +++ b/index/alvis.c @@ -1,5 +1,5 @@ -/* $Id: alvis.c,v 1.8 2006-12-13 13:05:45 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,8 +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 = atoi(rank_str); - + ctrl->staticrank = atozint(rank_str); ptr = ptr->children; }