summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/linux_updater/linux_updater.cpp2
-rw-r--r--indra/newview/llappviewer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/linux_updater/linux_updater.cpp b/indra/linux_updater/linux_updater.cpp
index cbdb3ddfe0..8aabb5ca60 100644
--- a/indra/linux_updater/linux_updater.cpp
+++ b/indra/linux_updater/linux_updater.cpp
@@ -824,7 +824,7 @@ int main(int argc, char **argv)
}
}
- bool success = app_state->failure != FALSE;
+ bool success = !app_state->failure;
delete app_state;
return success ? 0 : 1;
}
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 93fd75f74b..b5238e6d2c 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -2434,7 +2434,7 @@ void LLAppViewer::initUpdater()
}
LLEventPump & updater_pump = LLEventPumps::instance().obtain(LLUpdaterService::pumpName());
- updater_pump.listen("notify_update", notify_update);
+ updater_pump.listen("notify_update", &notify_update);
}
void LLAppViewer::checkForCrash(void)