projects
/
yaz-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:
c8e6236
)
Exit GFS if XML parsing fails.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 8 Mar 2005 13:59:08 +0000
(13:59 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 8 Mar 2005 13:59:08 +0000
(13:59 +0000)
src/statserv.c
patch
|
blob
|
history
diff --git
a/src/statserv.c
b/src/statserv.c
index
f6542c6
..
105d327
100644
(file)
--- a/
src/statserv.c
+++ b/
src/statserv.c
@@
-5,7
+5,7
@@
* NT threaded server code by
* Chas Woodfield, Fretwell Downing Informatics.
*
* NT threaded server code by
* Chas Woodfield, Fretwell Downing Informatics.
*
- * $Id: statserv.c,v 1.27 2005-03-08 11:48:09 adam Exp $
+ * $Id: statserv.c,v 1.28 2005-03-08 13:59:08 adam Exp $
*/
/**
*/
/**
@@
-440,8
+440,8
@@
static void xml_config_open()
xml_config_doc = xmlParseFile(control_block.xml_config);
if (!xml_config_doc)
{
xml_config_doc = xmlParseFile(control_block.xml_config);
if (!xml_config_doc)
{
- yaz_log(YLOG_WARN, "Could not parse %s", control_block.xml_config);
- return ;
+ yaz_log(YLOG_FATAL, "Could not parse %s", control_block.xml_config);
+ exit(1);
}
}
xml_config_read();
}
}
xml_config_read();