X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Ftrav.c;h=6b876b3e544c2f358f959eb63e0d732afd953796;hb=12c6db025bffd23e760ceb31120468cf363256df;hp=bfa2a464f270ea84dbbc6175ea5866ab007bd91e;hpb=2a6f64379961f30bfe6376964ce279ab5242da1f;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 ;