aboutsummaryrefslogtreecommitdiffstats
path: root/src/medsrv
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-09-08 20:01:13 +0200
committerMartin Willi <martin@strongswan.org>2009-09-10 18:52:42 +0200
commit356b2b2780fc52be410ff6e03a23eb1993bfe3fc (patch)
tree6ae4d5b38e2dab100ce374449493579719476682 /src/medsrv
parent5b03a350fc7093aa6984dfcafede98fbb62809eb (diff)
downloadstrongswan-356b2b2780fc52be410ff6e03a23eb1993bfe3fc.tar.bz2
strongswan-356b2b2780fc52be410ff6e03a23eb1993bfe3fc.tar.xz
pass NULL to library_init() to load settings from default file
Diffstat (limited to 'src/medsrv')
-rw-r--r--src/medsrv/Makefile.am1
-rw-r--r--src/medsrv/main.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/medsrv/Makefile.am b/src/medsrv/Makefile.am
index be9360bca..9f5c9e2f7 100644
--- a/src/medsrv/Makefile.am
+++ b/src/medsrv/Makefile.am
@@ -11,7 +11,6 @@ medsrv_fcgi_LDADD = $(top_builddir)/src/libfast/libfast.la
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libfast
AM_CFLAGS = -rdynamic \
- -DSTRONGSWAN_CONF=\"${strongswan_conf}\" \
-DIPSECDIR=\"${ipsecdir}\" \
-DIPSEC_PIDDIR=\"${piddir}\" \
-DPLUGINS=\""${libstrongswan_plugins}\""
diff --git a/src/medsrv/main.c b/src/medsrv/main.c
index 15d1f7fb8..1f43a7e17 100644
--- a/src/medsrv/main.c
+++ b/src/medsrv/main.c
@@ -33,7 +33,7 @@ int main(int arc, char *argv[])
char *uri;
int timeout, threads;
- library_init(STRONGSWAN_CONF);
+ library_init(NULL);
if (!lib->plugins->load(lib->plugins, NULL,
lib->settings->get_str(lib->settings, "medsrv.load", PLUGINS)))
{