remove some exit(1)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2010-02-25 22:43:04 +00:00
parent 5de1f4db50
commit be5957742c
4 changed files with 5 additions and 12 deletions

View file

@ -143,7 +143,7 @@ std::list<std::string> getLocalInterfaces()
{
pqioutput(PQL_ALERT, pqinetzone,
"Cannot Determine Local Addresses!");
exit(1);
return addrs;
}
if (!ifptr)

View file

@ -211,9 +211,8 @@ int pqissllistenbase::setuplisten()
out << " Cannot Bind to Local Address!" << std::endl;
showSocketError(out);
pqioutput(PQL_ALERT, pqissllistenzone, out.str());
std::cerr << out.str() << std::endl;
std::cerr << out.str() << std::endl;
exit(1);
return -1;
}
else
@ -232,7 +231,6 @@ int pqissllistenbase::setuplisten()
pqioutput(PQL_ALERT, pqissllistenzone, out.str());
std::cerr << out.str() << std::endl;
exit(1);
return -1;
}
else