Change-Id: I1115f5483190a72011b3fc9b3d85082ad9ceb37b
coap_str = IC_COAPS_TCP;
else
coap_str = IC_COAP_TCP;
- }
- else if (IC_UTILS_CONNECTIVITY_UDP & conn_options) {
+ } else if (IC_UTILS_CONNECTIVITY_UDP & conn_options) {
if (IOTCON_RESOURCE_SECURE & policies)
coap_str = IC_COAPS;
else
{
int options;
- if (NULL == host_address || IOTCON_CONNECTIVITY_ALL == conn_type) {
+ if (NULL == host_address || IOTCON_CONNECTIVITY_ALL == conn_type)
return 0;
- }
/* IOTCON_CONNECTIVITY_IP == conn_type */
if (IC_EQUAL == strncmp(IC_COAP, host_address, strlen(IC_COAP))) {