mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-12 16:09:37 -05:00
Share the download directory by default.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4090 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
af4dd635e3
commit
c64cb3b5f2
@ -2167,7 +2167,7 @@ int RsServer::StartupRetroShare()
|
|||||||
/* Start up Threads */
|
/* Start up Threads */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
ftserver->StartupThreads();
|
ftserver->StartupThreads();
|
||||||
ftserver->ResumeTransfers();
|
ftserver->ResumeTransfers();
|
||||||
|
|
||||||
//mDhtMgr->start();
|
//mDhtMgr->start();
|
||||||
@ -2187,9 +2187,6 @@ int RsServer::StartupRetroShare()
|
|||||||
|
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// create loopback device, and add to pqisslgrp.
|
// create loopback device, and add to pqisslgrp.
|
||||||
|
|
||||||
SearchModule *mod = new SearchModule();
|
SearchModule *mod = new SearchModule();
|
||||||
@ -2203,7 +2200,7 @@ int RsServer::StartupRetroShare()
|
|||||||
|
|
||||||
/* Setup GUI Interfaces. */
|
/* Setup GUI Interfaces. */
|
||||||
|
|
||||||
rsPeers = new p3Peers(mConnMgr);
|
rsPeers = new p3Peers(mConnMgr);
|
||||||
rsDisc = new p3Discovery(ad);
|
rsDisc = new p3Discovery(ad);
|
||||||
|
|
||||||
#ifndef MINIMAL_LIBRS
|
#ifndef MINIMAL_LIBRS
|
||||||
@ -2231,6 +2228,7 @@ int RsServer::StartupRetroShare()
|
|||||||
if (RsInitConfig::firsttime_run)
|
if (RsInitConfig::firsttime_run)
|
||||||
{
|
{
|
||||||
msgSrv->loadWelcomeMsg();
|
msgSrv->loadWelcomeMsg();
|
||||||
|
ftserver->shareDownloadDirectory(true);
|
||||||
}
|
}
|
||||||
#endif // MINIMAL_LIBRS
|
#endif // MINIMAL_LIBRS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user