ftFileStatus contruct failure

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@726 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
ewensun 2008-09-10 14:12:13 +00:00
parent 3af7d41d7f
commit e8d21abdd5
10 changed files with 53 additions and 9 deletions

View file

@ -167,7 +167,7 @@ int main(int argc, char **argv)
std::cerr << "Point 5" << std::endl;
std::ostringstream pname;
pname << "./tmp/rstst-" << time(NULL);
pname << "/tmp/rstst-" << time(NULL);
std::string basepath = pname.str();
RsDirUtil::checkCreateDirectory(basepath);
@ -222,6 +222,8 @@ int main(int argc, char **argv)
server->setConfigDirectory(configpath);
sleep(60);
NotifyBase *base = NULL;
server->SetupFtServer(base);