Fix coding rule violation in connectivity.c 09/177409/1
authorKisung Son <eson@samsung.com>
Fri, 27 Apr 2018 22:18:00 +0000 (07:18 +0900)
committerKisung Son <eson@samsung.com>
Fri, 27 Apr 2018 22:18:00 +0000 (07:18 +0900)
Change-Id: Ibcbc4d9d497e32e9e9ee7700418cdb9fcdcd5021

src/connectivity.c

index b9c32bb..86f9863 100644 (file)
@@ -382,13 +382,13 @@ static bool __print_attributes_cb(iotcon_attributes_h attributes, const char *ke
                iotcon_attributes_get_double(attributes, key, &value);
                _D("key[%s] - double value [%lf]", key, value);
                }
-       break;
+               break;
        case IOTCON_TYPE_STR: {
                char *value = 0;
                iotcon_attributes_get_str(attributes, key, &value);
                _D("key[%s] - string value [%s]", key, value);
                }
-       break;
+               break;
        case IOTCON_TYPE_NONE:
        case IOTCON_TYPE_BYTE_STR:
        case IOTCON_TYPE_NULL:
@@ -589,8 +589,9 @@ static inline void __noti_by_http(void)
                else
                        _E("fail to get url");
                free(json_data);
-       } else
+       } else {
                _E("fail to get json_data");
+       }
 
        return;
 }