Corrected error return value when parsing fragmentation header.
authorOssama Othman <ossama.othman@intel.com>
Wed, 24 Jun 2015 18:12:03 +0000 (11:12 -0700)
committerErich Keane <erich.keane@intel.com>
Thu, 25 Jun 2015 16:36:25 +0000 (16:36 +0000)
commit427567ecdeb450cd8244d1c2ca8ab210a72a7d01
tree9b4c3ef4d346ef92b794da45c06a90e7dc0bba8c
parent0b30bd578bcaae82916af86d6fa737a0e4d7bda4
Corrected error return value when parsing fragmentation header.

CAParseHeader() on error returned CA_STATUS_INVALID_PARAM, a
CAResult_t value, instead of a value that matches uint32_t return
type.  Return zero on error instead.

Updated documentation accordingly.

Change-Id: I3dee0e2b562a272c5d41963e0049618d7bacd69e
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1419
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/inc/cafragmentation.h
resource/csdk/connectivity/src/adapter_util/cafragmentation.c