projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 2.0.57
[idzebra-moved-to-github.git]
/
index
/
check_res.c
diff --git
a/index/check_res.c
b/index/check_res.c
index
5a01910
..
3043d64
100644
(file)
--- a/
index/check_res.c
+++ b/
index/check_res.c
@@
-1,5
+1,5
@@
/* This file is part of the Zebra server.
/* This file is part of the Zebra server.
- Copyright (C) 1995-2008 Index Data
+ Copyright (C) Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-17,6
+17,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@@
-28,7
+31,7
@@
int zebra_check_res(Res res)
{
int errors = 0;
Res v = res_open(0, 0);
{
int errors = 0;
Res v = res_open(0, 0);
-
+
res_add(v, "attset", "");
res_add(v, "chdir", "");
res_add(v, "dbaccess", "");
res_add(v, "attset", "");
res_add(v, "chdir", "");
res_add(v, "dbaccess", "");
@@
-71,9
+74,9
@@
int zebra_check_res(Res res)
res_add(v, "openRW", "p");
res_add(v, "facetNumRecs", "");
res_add(v, "facetMaxChunks", "");
res_add(v, "openRW", "p");
res_add(v, "facetNumRecs", "");
res_add(v, "facetMaxChunks", "");
-
+
errors = res_check(res, v);
errors = res_check(res, v);
-
+
res_close(v);
return errors;
}
res_close(v);
return errors;
}
@@
-81,6
+84,7
@@
int zebra_check_res(Res res)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab