X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Finsert.c;h=b12124b20756a32ab0663f6e9d9bb06fe1bfb1d1;hb=0002d3ccff37e5598553683e95714ca5711f05e8;hp=955a2cdb02328cdbce4565af47a14784fedada94;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/dict/insert.c b/dict/insert.c index 955a2cd..b12124b 100644 --- a/dict/insert.c +++ b/dict/insert.c @@ -1,6 +1,6 @@ -/* $Id: insert.c,v 1.22 2002-08-02 19:26:55 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 - Index Data Aps +/* $Id: insert.c,v 1.26 2006-05-10 08:13:18 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -27,7 +27,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include -#include +#include "dict-p.h" #define CHECK 0 @@ -343,7 +343,7 @@ static int dict_ins (Dict dict, const Dict_char *str, } if (split_page (dict, ptr, p)) { - logf (LOG_FATAL, "Unable to split page %d\n", ptr); + yaz_log (YLOG_FATAL, "Unable to split page %d\n", ptr); abort (); } return dict_ins (dict, str-1, ptr, userlen, userinfo); @@ -449,3 +449,11 @@ int dict_insert (Dict dict, const char *str, int userlen, void *userinfo) userlen, userinfo); } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +