char str[BT_TEXT_LEN_MAX] = { 0, };
bundle *b;
- DBG("error_type: %d",error_type);
+ DBG("error_type: %d", error_type);
switch (error_type) {
case BLUETOOTH_ERROR_SERVICE_NOT_FOUND:
case BLUETOOTH_ERROR_NOT_CONNECTED:
static GDBusProxy *__bt_get_core_proxy(void)
{
- return (core_proxy) ? core_proxy : __bt_init_core_proxy();
+ return (core_proxy) ? core_proxy : __bt_init_core_proxy();
}
int _bt_set_eventsystem_transfer_value(gboolean value)
int _bt_update_notification(struct bt_appdata *ad, notification_h noti,
char *title, char *content, char *icon_path)
{
- retvm_if (!noti, BT_SHARE_FAIL, "noti is NULL");
+ retvm_if(!noti, BT_SHARE_FAIL, "noti is NULL");
INFO("Update noti : %p", noti);
notification_error_e ret = NOTIFICATION_ERROR_NONE;
int priv_id = 0;
int ret;
- retv_if (ad == NULL, FALSE);
+ retv_if(ad == NULL, FALSE);
/* When bt-share is launched, need to update notification status */
{
DBG("__bt_notification_changed_cb");
- retm_if (data == NULL, "Invalid data");
+ retm_if(data == NULL, "Invalid data");
struct bt_appdata *ad = (struct bt_appdata *)data;
gboolean is_sent_noti_exist = FALSE;
gboolean is_received_noti_exist = FALSE;
int priv_id;
sqlite3 *db = NULL;
- retm_if (op_list == NULL, "Invalid op_list");
+ retm_if(op_list == NULL, "Invalid op_list");
if (type != NOTIFICATION_TYPE_NOTI ||
(op_list->type != NOTIFICATION_OP_DELETE &&
return;
noti_err = notification_get_list(type, -1, ¬i_list);
- ret_if (noti_err != NOTIFICATION_ERROR_NONE);
+ ret_if(noti_err != NOTIFICATION_ERROR_NONE);
noti_list = notification_list_get_head(noti_list);
while (noti_list) {