projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce0c8ff
)
Return a value for function zebra_chdir
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 19 Jun 2009 12:59:51 +0000
(14:59 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 19 Jun 2009 12:59:51 +0000
(14:59 +0200)
index/zebraapi.c
patch
|
blob
|
history
diff --git
a/index/zebraapi.c
b/index/zebraapi.c
index
343c89d
..
2b69a2d
100644
(file)
--- 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);