Added safety checks requested in code review. 66/366/4
authorJoseph Morrow <joseph.l.morrow@intel.com>
Thu, 19 Feb 2015 20:26:10 +0000 (15:26 -0500)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Thu, 19 Feb 2015 21:38:41 +0000 (21:38 +0000)
commitce28a756da6d78a83d4693966487f080e2a2144e
tree848ccae8b43008a40bc5ae51dc8ba421b912ea4a
parent6be20af7fd9c776e29624dc6a053e221c5f40838
Added safety checks requested in code review.

The requests can be found here:https://gerrit.iotivity.org/gerrit/#/c/363.

Change-Id: Ied1f370c7f836f22d2a3e5e00150bc974a7d35b7
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/366
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
Reviewed-by: Doug Hudson <douglas.hudson@intel.com>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
resource/csdk/stack/src/ocstack.c