From c64cb3b5f28327784a00b5fda43bb68fe0474e60 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Tue, 8 Mar 2011 23:29:21 +0000 Subject: [PATCH] Share the download directory by default. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4090 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/rsserver/rsinit.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libretroshare/src/rsserver/rsinit.cc b/libretroshare/src/rsserver/rsinit.cc index abca74173..baeebfa3f 100644 --- a/libretroshare/src/rsserver/rsinit.cc +++ b/libretroshare/src/rsserver/rsinit.cc @@ -2167,7 +2167,7 @@ int RsServer::StartupRetroShare() /* Start up Threads */ /**************************************************************************/ - ftserver->StartupThreads(); + ftserver->StartupThreads(); ftserver->ResumeTransfers(); //mDhtMgr->start(); @@ -2187,9 +2187,6 @@ int RsServer::StartupRetroShare() /**************************************************************************/ - - - // create loopback device, and add to pqisslgrp. SearchModule *mod = new SearchModule(); @@ -2203,7 +2200,7 @@ int RsServer::StartupRetroShare() /* Setup GUI Interfaces. */ - rsPeers = new p3Peers(mConnMgr); + rsPeers = new p3Peers(mConnMgr); rsDisc = new p3Discovery(ad); #ifndef MINIMAL_LIBRS @@ -2231,6 +2228,7 @@ int RsServer::StartupRetroShare() if (RsInitConfig::firsttime_run) { msgSrv->loadWelcomeMsg(); + ftserver->shareDownloadDirectory(true); } #endif // MINIMAL_LIBRS