Fixed ConditionalAddTextStringToMap
authorErich Keane <erich.keane@intel.com>
Fri, 14 Aug 2015 20:07:00 +0000 (13:07 -0700)
committerErich Keane <erich.keane@intel.com>
Fri, 14 Aug 2015 21:11:36 +0000 (21:11 +0000)
commita937b4a6c5b89d8b1348b6864a57303163b4bdc3
tree7abee04119568219ac12b566699e3d5bc6d87d45
parent237b05668371584c316ac64cb7d19a83536d0561
Fixed ConditionalAddTextStringToMap

Refactoring changes the function to return an error in the 'null'
condition rather than remain a valid value.  This patch returns it to
its previous behavior by having it return 0

Change-Id: I7a3b42399dec2df3955f2b4ef513fa0ca7433bb8
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2212
Reviewed-by: Sakthivel Samidurai <sakthivel.samidurai@intel.com>
Reviewed-by: Omkar Hegde <omkar.m.hegde@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
resource/csdk/stack/src/ocpayloadconvert.c