Fix minor issue for Group Action of ThingsManager.
authorHyunJun Kim <hyunjun2.kim@samsung.com>
Thu, 2 Apr 2015 07:07:55 +0000 (16:07 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 3 Apr 2015 01:44:50 +0000 (01:44 +0000)
commit6cf11104fffaed37656d1450d8dd7bc6cfdd04fe
treed0d034cff5fad5ac404e5c6c62e1d8e8490f0f3a
parentc0ba1d21f40377b0ba41be7dd38f422603cfe9f3
Fix minor issue for Group Action of ThingsManager.

addActionSet and executeActionSet do not return error message when entered invalid parameters.
In this case, we return 'OC_STACK_INVALID_PARAM'.

getActionSetfromString didn't return when entered malformed string.
It will be returned NULL in this case.

Change-Id: Ifd28640d6aca6714646b33ea8fb69c55f8ca36f7
Signed-off-by: HyunJun Kim <hyunjun2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/631
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/things-manager/sdk/src/GroupManager.cpp