From: Adam Dickmeiss Date: Fri, 19 Jun 2009 12:59:51 +0000 (+0200) Subject: Return a value for function zebra_chdir X-Git-Tag: v2.0.38~4 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=5478f209e90c32b8083c9b230de618599df93ff6;p=idzebra-moved-to-github.git Return a value for function zebra_chdir --- diff --git a/index/zebraapi.c b/index/zebraapi.c index 343c89d..2b69a2d 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -69,7 +69,7 @@ static int zebra_chdir(ZebraService zs) yaz_log(log_level, "zebra_chdir"); dir = res_get(zs->global_res, "chdir"); if (!dir) - return; + return 0; yaz_log(YLOG_DEBUG, "chdir %s", dir); #ifdef WIN32 r = _chdir(dir);