switched to RsLoginHelper for login attempt in rs-service. Moved commandline arguments to main executable using a new struct named RsConfigOptions

This commit is contained in:
csoler 2019-08-29 23:15:46 +02:00
parent 158da65fc4
commit ab5da5ebf5
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
7 changed files with 339 additions and 253 deletions

View file

@ -145,7 +145,8 @@ void RsControlModule::run()
#endif
RsInit::InitRsConfig();
int initResult = RsInit::InitRetroShare(argc, argv, true);
RsConfigOptions opt;
int initResult = RsInit::InitRetroShare(opt);
if (initResult < 0) {
std::cerr << "RsControlModule: FATAL ERROR, initialising libretroshare FAILED." << std::endl;