Cleaned up some misdirection when copying a string's value.
authorJoseph Morrow <joseph.l.morrow@intel.com>
Mon, 23 Mar 2015 20:21:36 +0000 (16:21 -0400)
committerErich Keane <erich.keane@intel.com>
Tue, 24 Mar 2015 17:08:09 +0000 (17:08 +0000)
commit5f46968dc1b377f36547b61900a3523f1eab971e
treec51931d8dba4034003019a10d3eb906230970184
parentffdf5bc2cca2311a71399f27293403427aed96cc
Cleaned up some misdirection when copying a string's value.

A weird case occurred where a char* string was referencing array location
'0', then was being pass-by reference to appear as a "char*" which simply
returned the origin char* string.

Change-Id: I014207a4050d69cf5b8e2360f6c8d9d82a6c628e
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/542
Reviewed-by: Sakthivel Samidurai <sakthivel.samidurai@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/stack/src/ocstack.c