X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-share%2Fsrc%2Fbt-share-main.c;h=9de45d9f4a33c777476b38e46146b26daa9b1289;hb=acf560d1da5c202f5837670c02f88db3485c408b;hp=33367f9945b04ffb9798e257cf3114943c06db71;hpb=c8a393d36c3a23f6a5da0ceec9f6705b95f1095a;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-share.git diff --git a/bt-share/src/bt-share-main.c b/bt-share/src/bt-share-main.c index 33367f9..9de45d9 100644 --- a/bt-share/src/bt-share-main.c +++ b/bt-share/src/bt-share-main.c @@ -276,7 +276,7 @@ static gboolean __bt_dbus_request_name(void) if (dbus_error_is_set(&err)) goto failed; - if(DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER == ret_code) { + if (DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER == ret_code) { dbus_connection_unref(conn); return TRUE; } @@ -324,8 +324,7 @@ void __bt_create_transfer_db(void) /* Check if the DB exists; if not, create it and initialize it */ ret = stat(BT_TRANSFER_DB, &sts); - if (ret == -1 && errno == ENOENT) - { + if (ret == -1 && errno == ENOENT) { DBG("DB %s doesn't exist, it needs to be created and initialized", BT_TRANSFER_DB); DBG("script path: %s", SCRIPT_INIT_DB); ret = system(SCRIPT_INIT_DB); @@ -352,10 +351,9 @@ int main(void) } ret = appcore_set_event_callback(APPCORE_EVENT_LANG_CHANGE, __bt_lang_changed_cb, NULL); - if(ret < 0) + if (ret < 0) DBG("Failed to excute the change of language"); - /* init internationalization */ if (appcore_set_i18n(BT_COMMON_PKG, BT_COMMON_RES) < 0) return -1;