mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 01:17:16 -05:00
removed false warning that come up when openning a non existing file in ftFileCreator.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6896 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c9cf757187
commit
3f09bdb0b7
@ -265,11 +265,13 @@ int ftFileCreator::locked_initializeFileAttrs()
|
||||
|
||||
if (!fd)
|
||||
{
|
||||
#ifdef FILE_DEBUG
|
||||
std::cerr << "ftFileCreator::initializeFileAttrs() Failed to open (r+b): ";
|
||||
std::cerr << file_name << ", errno = " << errno << std::endl;
|
||||
|
||||
std::cerr << "ftFileCreator::initializeFileAttrs() opening w+b";
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
||||
/* try opening for write */
|
||||
fd = RsDirUtil::rs_fopen(file_name.c_str(), "w+b");
|
||||
|
Loading…
Reference in New Issue
Block a user