Update Boost filesystem API usage
This commit is contained in:
@@ -74,7 +74,7 @@ static const std::string COOKIEAUTH_FILE = ".cookie";
|
||||
boost::filesystem::path GetAuthCookieFile()
|
||||
{
|
||||
boost::filesystem::path path(GetArg("-rpccookiefile", COOKIEAUTH_FILE));
|
||||
if (!path.is_complete()) path = GetDataDir() / path;
|
||||
if (!path.is_absolute()) path = GetDataDir() / path;
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user