mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
removed calls to exit() in rsinit. Replaced them by proper return false
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4711 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4ab319f29e
commit
c9fc77f2d1
2 changed files with 22 additions and 16 deletions
|
@ -31,6 +31,7 @@
|
|||
#define RS_INIT_HAVE_ACCOUNT 1 // Initialize ok, have account
|
||||
// Initialize failed, result < 0
|
||||
#define RS_INIT_AUTH_FAILED -1 // AuthGPG::InitAuth failed
|
||||
#define RS_INIT_BASE_DIR_ERROR -2 // AuthGPG::InitAuth failed
|
||||
|
||||
|
||||
/****
|
||||
|
@ -134,7 +135,7 @@ class RsInit
|
|||
|
||||
/* PreLogin */
|
||||
static std::string getHomePath() ;
|
||||
static void setupBaseDir();
|
||||
static bool setupBaseDir();
|
||||
|
||||
/* Account Details */
|
||||
static bool get_configinit(const std::string& dir, std::string &id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue