code cleaning

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1729 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-10-27 20:39:14 +00:00
parent 16949dded9
commit 9132dcf700

View File

@ -1932,14 +1932,7 @@ int RsServer::StartupRetroShare()
mAuthMgr = getAuthMgr();
/**************** PQI_USE_XPGP ******************/
#if defined(PQI_USE_XPGP)
if (1 != mAuthMgr -> InitAuth(NULL, NULL, NULL))
#else /* X509 Certificates */
/**************** PQI_USE_XPGP ******************/
if (1 != mAuthMgr -> InitAuth(NULL, NULL, NULL))
#endif /* X509 Certificates */
/**************** PQI_USE_XPGP ******************/
{
std::cerr << "main() - Fatal Error....." << std::endl;
std::cerr << "Invalid Certificate configuration!" << std::endl;
@ -1968,7 +1961,6 @@ int RsServer::StartupRetroShare()
}
/**************************************************************************/
// Load up Certificates, and Old Configuration (if present)
std::string certConfigFile = RsInitConfig::configDir.c_str();
@ -2160,13 +2152,6 @@ int RsServer::StartupRetroShare()
/* Hack Old Configuration into new System (first load only) */
/**************************************************************************/
/**************** PQI_USE_XPGP ******************/
#if defined(PQI_USE_XPGP)
#else /* X509 Certificates */
/**************** PQI_USE_XPGP ******************/
#endif /* X509 Certificates */
/**************** PQI_USE_XPGP ******************/
/**************************************************************************/
/* trigger generalConfig loading for classes that require it */
/**************************************************************************/
@ -2269,7 +2254,6 @@ int RsServer::StartupRetroShare()
rsPhoto = new p3Photo(photoService);
rsStatus = new p3Status();
rsQblog = new p3Blog(mQblog);
#else
rsGameLauncher = NULL;
rsPhoto = NULL;
@ -2294,7 +2278,3 @@ int RsServer::StartupRetroShare()
return 1;
}