projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call get_config() only once, not twice
[citadel.git]
/
citadel
/
server_main.c
diff --git
a/citadel/server_main.c
b/citadel/server_main.c
index 6a7d293fb8ef7cf6265fa3b4e4d044b1d117a339..691096b66a05cc4371b80aa0394d7ae199a155e6 100644
(file)
--- a/
citadel/server_main.c
+++ b/
citadel/server_main.c
@@
-164,6
+164,7
@@
int main(int argc, char **argv)
/* Load site-specific configuration */
syslog(LOG_INFO, "Loading citadel.config");
get_config();
+ validate_config();
/* get_control() MUST MUST MUST be called BEFORE the databases are opened!! */
syslog(LOG_INFO, "Acquiring control record");