summaryrefslogtreecommitdiff
path: root/indra/mac_updater/MacUpdaterAppDelegate.mm
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2012-12-06 21:00:37 -0800
committerAura Linden <aura@lindenlab.com>2012-12-06 21:00:37 -0800
commite21275f3562950ae5e5acde8e6f4f631d6c7f1b9 (patch)
tree7cf220d55f9b0e791288dcafe1eafb6011157041 /indra/mac_updater/MacUpdaterAppDelegate.mm
parent9085dc3e84b66e9f3802ebaf23dedb5891c39065 (diff)
Fixed several minor issues with validation.
Diffstat (limited to 'indra/mac_updater/MacUpdaterAppDelegate.mm')
-rw-r--r--indra/mac_updater/MacUpdaterAppDelegate.mm5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/mac_updater/MacUpdaterAppDelegate.mm b/indra/mac_updater/MacUpdaterAppDelegate.mm
index 80206cb508..179946a238 100644
--- a/indra/mac_updater/MacUpdaterAppDelegate.mm
+++ b/indra/mac_updater/MacUpdaterAppDelegate.mm
@@ -133,8 +133,6 @@ bool mkTempDir(boost::filesystem::path& temp_dir)
std::string* temp_str = NSToString(tempDir);
*temp_str += std::string("SecondLifeUpdate_XXXXXX");
- std::cout << "tempDir is " << temp_str << std::endl;
-
char temp[PATH_MAX] = ""; /* Flawfinder: ignore */
strncpy(temp, temp_str->c_str(), temp_str->length());
@@ -224,7 +222,6 @@ std::string* getUserTrashFolder()
bool isFSRefViewerBundle(const std::string& targetURL)
{
bool result = false;
-
NSString *fullPath = [NSString stringWithCString:targetURL.c_str()
encoding:[NSString defaultCStringEncoding]];
NSBundle *targetBundle = [NSBundle bundleWithPath:fullPath];
@@ -233,7 +230,7 @@ bool isFSRefViewerBundle(const std::string& targetURL)
encoding:[NSString defaultCStringEncoding]];
result = [targetBundleStr isEqualToString:sourceBundleStr];
-
+
if(!result)
{
std::cout << "Target bundle ID mismatch." << std::endl;