Commit 50d2d473 authored by George Nash's avatar George Nash

Increment endpoint to prevent endless loop

Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
parent f76d2e3c
......@@ -510,6 +510,7 @@ public class IotivityRepository {
OcEndpoint endpoint = new OcEndpoint();
endpoint.setEndpoint(OCEndpointUtil.toString(ep));
epList.add(endpoint);
ep = ep.getNext();
}
resource.setEndpoints(epList);
resource.setPropertiesMask(resourcePropertiesMask);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment