diff options
author | JackLivio <jack@livio.io> | 2018-08-27 13:14:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 13:14:20 -0400 |
commit | 28648f6012e225f3aa36e3a8263f9c8301ba3283 (patch) | |
tree | 7c25ef6ee67d47a055907376eabfa1d1bdb91175 /src | |
parent | b4be8774c3316a50cb530195730d7df970496609 (diff) | |
parent | 82eac1e9627ad2be5c63708103fc5c10852bf14e (diff) | |
download | sdl_core-28648f6012e225f3aa36e3a8263f9c8301ba3283.tar.gz |
Merge pull request #2537 from smartdevicelink/fix/transport_manager_init
Fix transport manager init check
Diffstat (limited to 'src')
-rw-r--r-- | src/appMain/life_cycle_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appMain/life_cycle_impl.cc b/src/appMain/life_cycle_impl.cc index 5b319dde48..b87191d937 100644 --- a/src/appMain/life_cycle_impl.cc +++ b/src/appMain/life_cycle_impl.cc @@ -163,7 +163,7 @@ bool LifeCycleImpl::StartComponents() { // It's important to initialise TM after setting up listener chain // [TM -> CH -> AM], otherwise some events from TM could arrive at nowhere app_manager_->set_protocol_handler(protocol_handler_); - if (!transport_manager_->Init(*last_state_)) { + if (transport_manager::E_SUCCESS != transport_manager_->Init(*last_state_)) { LOG4CXX_ERROR(logger_, "Transport manager init failed."); return false; } |