From 9cb81f57ea6621fe055fe10c04cadd857373dea9 Mon Sep 17 00:00:00 2001 From: electron128 Date: Fri, 1 Jan 2016 12:01:49 +0100 Subject: [PATCH] don't create wiki dataservice if wiki is not enabled for compile --- libretroshare/src/rsserver/rsinit.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libretroshare/src/rsserver/rsinit.cc b/libretroshare/src/rsserver/rsinit.cc index e9f6f3161..5cdbaf521 100644 --- a/libretroshare/src/rsserver/rsinit.cc +++ b/libretroshare/src/rsserver/rsinit.cc @@ -1372,12 +1372,11 @@ int RsServer::StartupRetroShare() /**** Wiki GXS service ****/ - +#ifdef RS_USE_WIKI RsGeneralDataService* wiki_ds = new RsDataService(currGxsDir + "/", "wiki_db", RS_SERVICE_GXS_TYPE_WIKI, NULL, rsInitConfig->gxs_passwd); -#ifdef RS_USE_WIKI p3Wiki *mWiki = new p3Wiki(wiki_ds, NULL, mGxsIdService); // create GXS wiki service RsGxsNetService* wiki_ns = new RsGxsNetService(