Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Change-Id: I8cabe0b8ad3076caa595ec016c4873503d5235ea
Name: capi-network-connection
Summary: Network Connection library in TIZEN C API
-Version: 1.0.74
+Version: 1.0.75
Release: 1
Group: System/Network
License: Apache-2.0
return CONNECTION_ERROR_OPERATION_FAILED;
}
- *llsize = (long long)(last_size * 1000 + size * 1000);
+ *llsize = (long long)(last_size * 1000) + (long long)(size * 1000);
CONNECTION_LOG(CONNECTION_INFO,"%lld bytes", *llsize);
return CONNECTION_ERROR_NONE;
net_profile_info_t *profile_info = profile;
*state = _profile_convert_to_cp_state(profile_info->ProfileState);
- if (*state < 0)
- return CONNECTION_ERROR_OPERATION_FAILED;
return CONNECTION_ERROR_NONE;
}
if (!feature_supported) {
CONNECTION_LOG(CONNECTION_ERROR, "Error - Feature is not supported");
set_last_result(CONNECTION_ERROR_NOT_SUPPORTED);
+ va_end(list);
return CONNECTION_ERROR_NOT_SUPPORTED;
}
- va_end(list);
+ va_end(list);
set_last_result(CONNECTION_ERROR_NONE);
return CONNECTION_ERROR_NONE;
}