From 5478f209e90c32b8083c9b230de618599df93ff6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 19 Jun 2009 14:59:51 +0200 Subject: [PATCH] Return a value for function zebra_chdir --- index/zebraapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.4