Fix error in ocstack.c which prevents us to Sign Up to cloud
It was appeared in next patchset
[IOT-1413,IOT-1415] Fixed request handling bugs for /oic/ping resource
Change-Id: Icf193a19107ce2cb044537f6a0a5058944c39afd
Signed-off-by: Andrii Shtompel <a.shtompel@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13241
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
type = PAYLOAD_TYPE_REPRESENTATION ;
}
#ifdef TCP_ADAPTER
- else if (strcmp(cbNode->requestUri, OC_KEEPALIVE_RESOURCE_URI) == 0)
+ else if (strcmp(cbNode->requestUri, KEEPALIVE_RESOURCE_URI) == 0)
{
type = PAYLOAD_TYPE_REPRESENTATION;
}