Fix some issues of GroupSynchronization
authorSoyoung Youn <sy01.youn@samsung.com>
Wed, 7 Jan 2015 05:02:53 +0000 (14:02 +0900)
committerSoyoung Youn <sy01.youn@samsung.com>
Wed, 7 Jan 2015 05:02:53 +0000 (14:02 +0900)
commite219efd2f099557895748f081c284868c837621b
treef5f48e9c1cc1aea99ae44a6020c473853e0efa3e
parent35175a4c63b1ea76d5c0f5fb4c9e9bf1437c0290
Fix some issues of GroupSynchronization
- findGroup() with null callback parameter issue is fixed.
  : return OC_STACK_ERROR, when callback parameter is passed with a null value.
- joinGroup() failure when there is no group match with group type parameter is fixed.
- deleteGroup() failure when delete group with no child is fixed.

Erase "else" statement for guard condition in findCallback NULL checking.

Change-Id: Id00160e3b2e85e03c4e4dd5bd5fb401f6a8bbd42
Signed-off-by: Soyoung Youn <sy01.youn@samsung.com>
service/things-manager/sdk/src/GroupSynchronization.cpp