Name: media-server
Summary: A server for media content management
-Version: 0.3.36
+Version: 0.3.37
Release: 0
Group: Multimedia/Service
License: Apache-2.0
} else {
result++;
data = malloc(sizeof(ms_block_info_s));
- if(data == NULL) {
+ if (data == NULL) {
MS_DBG_ERR("Failed to allocate memory");
} else {
data->block_type = val_int[0];
/* Do nothing */
} else {
data = malloc(sizeof(block_info_s));
- if(data == NULL) {
+ if (data == NULL) {
printf("Failed to allocate memory");
} else {
data->block_type = val_int[0];
end_flag = extract_data->result ? LAST_EVENT : NORMAL_EVENT;
update_path = g_strndup(extract_data->msg, extract_data->msg_size);
- if(!MS_STRING_VALID(update_path)) {
+ if (!MS_STRING_VALID(update_path)) {
MS_DBG_ERR("Invalid update_path");
ret = MS_MEDIA_ERR_INVALID_PARAMETER;
goto NEXT;
storage_type = ms_get_storage_type_by_full(scan_data->msg, uid);
update_path = g_strndup(scan_data->msg, scan_data->msg_size);
- if(!MS_STRING_VALID(update_path)) {
+ if (!MS_STRING_VALID(update_path)) {
MS_DBG_ERR("Invalid update_path");
ret = MS_MEDIA_ERR_INVALID_PARAMETER;
goto NEXT;