X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;ds=sidebyside;f=index%2Ftrav.c;h=6b876b3e544c2f358f959eb63e0d732afd953796;hb=f76093fc0b3b07a5b5a9d83e4c62dd467df8f53d;hp=bfa2a464f270ea84dbbc6175ea5866ab007bd91e;hpb=150e8c2e5ddf9ff8b9991902236826d128bcfb94;p=idzebra-moved-to-github.git diff --git a/index/trav.c b/index/trav.c index bfa2a46..6b876b3 100644 --- a/index/trav.c +++ b/index/trav.c @@ -1,4 +1,4 @@ -/* $Id: trav.c,v 1.44 2004-01-22 11:27:21 adam Exp $ +/* $Id: trav.c,v 1.45 2004-09-09 09:07:12 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -258,7 +258,7 @@ void repositoryShow (ZebraHandle zh, const char *path) Dict dict; struct dirs_info *di; - if (!(dict = dict_open (zh->reg->bfs, FMATCH_DICT, 50, 0, 0))) + if (!(dict = dict_open_res (zh->reg->bfs, FMATCH_DICT, 50, 0, 0, zh->res))) { yaz_log (LOG_FATAL, "dict_open fail of %s", FMATCH_DICT); return; @@ -398,8 +398,8 @@ void repositoryUpdate (ZebraHandle zh, const char *path) if (zh->m_record_id && !strcmp (zh->m_record_id, "file")) { Dict dict; - if (!(dict = dict_open (zh->reg->bfs, FMATCH_DICT, 50, - zh->m_flag_rw, 0))) + if (!(dict = dict_open_res (zh->reg->bfs, FMATCH_DICT, 50, + zh->m_flag_rw, 0, zh->res))) { yaz_log (LOG_FATAL, "dict_open fail of %s", FMATCH_DICT); return ;