2007.
[idzebra-moved-to-github.git] / index / alvis.c
index 851064f..60beaca 100644 (file)
@@ -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;
     }