Fix a wrong conditional statement about token value.
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Wed, 22 Jun 2016 05:09:53 +0000 (14:09 +0900)
committerJon A. Cruz <jon@joncruz.org>
Wed, 22 Jun 2016 07:19:17 +0000 (07:19 +0000)
commita5699d21bf7c9210577f65f0271e47692f860d5b
tree4f798b50c7e085d2a6b9e08f85ca8ace05179edb
parent88a306f0ff860140e9924675550ed0aa0c2237ff
Fix a wrong conditional statement about token value.

if the first byte of the token is 00, the condition will
return false even though the token is valid.

Change-Id: I7386cb3644f32e7d1cabb58a1ef8c7162cf19476
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8831
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
resource/csdk/stack/src/ocobserve.c