mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-15 04:22:27 -04:00
small update of connct mgr and ssl connection
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2489 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f57b4c7b64
commit
aa7bed984f
5 changed files with 40 additions and 87 deletions
|
@ -39,7 +39,7 @@ using std::ifstream;
|
|||
|
||||
#include "serialiser/rsconfigitems.h"
|
||||
|
||||
#define CONFIG_DEBUG 1
|
||||
//#define CONFIG_DEBUG 1
|
||||
|
||||
|
||||
p3ConfigMgr::p3ConfigMgr(std::string dir, std::string fname, std::string signame)
|
||||
|
@ -633,7 +633,9 @@ bool p3Config::saveConfiguration()
|
|||
ofstream ofstrm;
|
||||
ifstrm.open(fname.c_str(), std::ifstream::binary);
|
||||
|
||||
std::cerr << "p3config::saveConfiguration() Is file open: " << ifstrm.is_open();
|
||||
#ifdef CONFIG_DEBUG
|
||||
std::cerr << "p3config::saveConfiguration() Is file open: " << ifstrm.is_open() << std::endl;
|
||||
#endif
|
||||
|
||||
// if file does not exist then open temporay file already created
|
||||
if(!ifstrm.is_open()){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue