if (sending_info == NULL)
return;
- if (file_offset < sending_info->file_count){
+ if (file_offset < sending_info->file_count) {
/* Get the session bus. */
g_conn = _bt_get_session_gconn();
ret_if(g_conn == NULL);
}
g_free(mimetype);
- }else{
+ } else {
file_offset = 0;
__bt_sending_release();
}
g_clear_error(&error);
result = BLUETOOTH_ERROR_INTERNAL;
- }else{
+ } else {
BT_DBG("Session created");
- if(sending_info != NULL)
+ if (sending_info != NULL)
sending_info->session_path = g_strdup(session_path);
}
g_free(session_path);
__bt_free_sending_info(sending_info);
sending_info = NULL;
- }else {
+ } else {
BT_DBG("Calling sending_files");
_bt_sending_files();
}