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:
csoler 2011-12-06 23:00:42 +00:00
parent 4ab319f29e
commit c9fc77f2d1
2 changed files with 22 additions and 16 deletions

View file

@ -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);