mbedConnectorInterface back port from mbedOS v3 using mbed-client C++ call interface
Diff: source/ConnectorEndpoint.cpp
- Revision:
- 5:14a3a0f709eb
- Parent:
- 4:d9603064630c
- Child:
- 8:f950fb1b78c0
--- a/source/ConnectorEndpoint.cpp Sun Feb 21 16:21:47 2016 +0000 +++ b/source/ConnectorEndpoint.cpp Sun Feb 21 16:31:36 2016 +0000 @@ -211,9 +211,9 @@ // re-register the endpoint void Endpoint::re_register_endpoint() { - if (this->m_interface != NULL) { - this->m_interface->update_registration(this->m_server_instance, this->m_options->getLifetime()); - } + if (this->m_interface != NULL) { + this->m_interface->update_registration(this->m_server_instance, this->m_options->getLifetime()); + } } // bootstrap done