diff options
author | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
commit | 2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch) | |
tree | 95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/llviewerregion.cpp | |
parent | Second Life viewer sources 1.20.6 (diff) | |
download | meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2 meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz |
Second Life viewer sources 1.20.7
Diffstat (limited to 'linden/indra/newview/llviewerregion.cpp')
-rw-r--r-- | linden/indra/newview/llviewerregion.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llviewerregion.cpp b/linden/indra/newview/llviewerregion.cpp index e8ed85f..e1590cc 100644 --- a/linden/indra/newview/llviewerregion.cpp +++ b/linden/indra/newview/llviewerregion.cpp | |||
@@ -214,7 +214,7 @@ void LLViewerRegion::loadCache() | |||
214 | U32(mHandle>>32)/REGION_WIDTH_UNITS, | 214 | U32(mHandle>>32)/REGION_WIDTH_UNITS, |
215 | U32(mHandle)/REGION_WIDTH_UNITS ); | 215 | U32(mHandle)/REGION_WIDTH_UNITS ); |
216 | 216 | ||
217 | FILE* fp = LLFile::fopen(filename, "rb"); /* Flawfinder: ignore */ | 217 | LLFILE* fp = LLFile::fopen(filename, "rb"); /* Flawfinder: ignore */ |
218 | if (!fp) | 218 | if (!fp) |
219 | { | 219 | { |
220 | // might not have a file, which is normal | 220 | // might not have a file, which is normal |
@@ -303,7 +303,7 @@ void LLViewerRegion::saveCache() | |||
303 | U32(mHandle>>32)/REGION_WIDTH_UNITS, | 303 | U32(mHandle>>32)/REGION_WIDTH_UNITS, |
304 | U32(mHandle)/REGION_WIDTH_UNITS ); | 304 | U32(mHandle)/REGION_WIDTH_UNITS ); |
305 | 305 | ||
306 | FILE* fp = LLFile::fopen(filename, "wb"); /* Flawfinder: ignore */ | 306 | LLFILE* fp = LLFile::fopen(filename, "wb"); /* Flawfinder: ignore */ |
307 | if (!fp) | 307 | if (!fp) |
308 | { | 308 | { |
309 | llwarns << "Unable to write cache file " << filename << llendl; | 309 | llwarns << "Unable to write cache file " << filename << llendl; |
@@ -1307,6 +1307,7 @@ void LLViewerRegion::unpackRegionHandshake() | |||
1307 | 1307 | ||
1308 | class BaseCapabilitiesComplete : public LLHTTPClient::Responder | 1308 | class BaseCapabilitiesComplete : public LLHTTPClient::Responder |
1309 | { | 1309 | { |
1310 | LOG_CLASS(BaseCapabilitiesComplete); | ||
1310 | public: | 1311 | public: |
1311 | BaseCapabilitiesComplete(LLViewerRegion* region) | 1312 | BaseCapabilitiesComplete(LLViewerRegion* region) |
1312 | : mRegion(region) | 1313 | : mRegion(region) |
@@ -1314,8 +1315,7 @@ public: | |||
1314 | 1315 | ||
1315 | void error(U32 statusNum, const std::string& reason) | 1316 | void error(U32 statusNum, const std::string& reason) |
1316 | { | 1317 | { |
1317 | llinfos << "BaseCapabilitiesComplete::error " | 1318 | LL_WARNS2("AppInit", "Capabilities") << statusNum << ": " << reason << LL_ENDL; |
1318 | << statusNum << ": " << reason << llendl; | ||
1319 | 1319 | ||
1320 | if (STATE_SEED_GRANTED_WAIT == LLStartUp::getStartupState()) | 1320 | if (STATE_SEED_GRANTED_WAIT == LLStartUp::getStartupState()) |
1321 | { | 1321 | { |
@@ -1329,8 +1329,8 @@ public: | |||
1329 | for(iter = content.beginMap(); iter != content.endMap(); ++iter) | 1329 | for(iter = content.beginMap(); iter != content.endMap(); ++iter) |
1330 | { | 1330 | { |
1331 | mRegion->setCapability(iter->first, iter->second); | 1331 | mRegion->setCapability(iter->first, iter->second); |
1332 | llinfos << "BaseCapabilitiesComplete::result got capability for " | 1332 | LL_DEBUGS2("AppInit", "Capabilities") << "got capability for " |
1333 | << iter->first << llendl; | 1333 | << iter->first << LL_ENDL; |
1334 | 1334 | ||
1335 | /* HACK we're waiting for the ServerReleaseNotes */ | 1335 | /* HACK we're waiting for the ServerReleaseNotes */ |
1336 | if ((iter->first == "ServerReleaseNotes") && (LLFloaterReleaseMsg::sDisplayMessage)) | 1336 | if ((iter->first == "ServerReleaseNotes") && (LLFloaterReleaseMsg::sDisplayMessage)) |