mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
NOTE:
This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!
Diff: source/ConnectorEndpoint.cpp
- Revision:
- 4:d9603064630c
- Parent:
- 3:ce348020b691
- Child:
- 5:14a3a0f709eb
--- a/source/ConnectorEndpoint.cpp Sun Feb 21 15:50:46 2016 +0000 +++ b/source/ConnectorEndpoint.cpp Sun Feb 21 16:21:47 2016 +0000 @@ -195,9 +195,9 @@ // complete registration of the endpoint void Endpoint::complete_endpoint_registration(M2MSecurity *register_object, M2MObjectList object_list) { - if (this->m_interface != NULL) { - this->m_interface->register_object(register_object, object_list); - } + if (this->m_interface != NULL) { + this->m_interface->register_object(register_object, object_list); + } } // deregister endpoint and stop scheduling