X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.c;h=ae04ebefa921b37627b0fea6459686d7a43ca5b4;hb=f787ae9f7a0e70a5177e6531d8ad47b135fd22e6;hp=26ac71285a02197c08733057c5a495f53142dd09;hpb=583fe2d2582ab4078527c152b232ddf359336e91;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.c b/index/zebraapi.c index 26ac712..ae04ebe 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.68 2002-08-28 19:52:29 adam Exp $ +/* $Id: zebraapi.c,v 1.69 2002-08-29 08:47:08 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -130,9 +130,7 @@ ZebraService zebra_start (const char *configName) yaz_log (LOG_LOG, "zebra_start %s", configName); - if (!(res = res_open (configName, 0))) - yaz_log (LOG_WARN, "Cannot read resources `%s'", configName); - else + if ((res = res_open (configName, 0))) { ZebraService zh = xmalloc (sizeof(*zh));