Commit 8064b0c6 authored by Joonghwan Lee's avatar Joonghwan Lee Committed by Randeep

[IOT-1700] SendCallBack() doesn't return an error for unsupported adapter

Added error return if adapter is not supported

Change-Id: I472864a1b8e20128965905883ab6db60b36bda6f
Signed-off-by: default avatarJoonghwan Lee <jh05.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15885Reviewed-by: default avatarPawel Winogrodzki <pawelwi@microsoft.com>
Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep's avatarRandeep Singh <randeep.s@samsung.com>
parent 05c6cc43
......@@ -542,6 +542,7 @@ static int SendCallBack(void * tep, const unsigned char * data, size_t dataLen)
else
{
OIC_LOG(ERROR, NET_SSL_TAG, "Unsupported adapter");
return -1;
}
OIC_LOG_V(DEBUG, NET_SSL_TAG, "Out %s", __func__);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment