Fix the coding rule 90/95890/1 accepted/tizen/3.0/common/20161114.081715 accepted/tizen/3.0/ivi/20161108.062308 accepted/tizen/3.0/mobile/20161108.062208 accepted/tizen/3.0/tv/20161108.062240 accepted/tizen/3.0/wearable/20161108.062253 submit/tizen_3.0/20161107.085533 submit/tizen_3.0_common/20161110.084657
authorHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 7 Nov 2016 04:56:10 +0000 (13:56 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 7 Nov 2016 04:56:10 +0000 (13:56 +0900)
Change-Id: I47433024f0973bfa3b2e02894e6282ae4d1ae2de
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
src/bt-syspopup-m.c

index 90c424cd9d29b5f20e5affb45c2a89542302e359..4d909f2b7e063ebc5049bcc129e012ec1e369859 100644 (file)
@@ -77,14 +77,14 @@ static char *format_string(const char *format, ...)
 {
        va_list arg;
        char* chTemp = NULL;
-       chTemp= (char*)malloc(1024 * sizeof(char));
+       chTemp = (char*)malloc(1024 * sizeof(char));
        if (!chTemp) {
                BT_DBG("memory alloc failed");
                return NULL;
        }
 
-       va_start(arg,format);
-       vsnprintf(chTemp,1024,format,arg);
+       va_start(arg, format);
+       vsnprintf(chTemp, 1024, format, arg);
        va_end(arg);
        return chTemp;
 }
@@ -1398,8 +1398,7 @@ static void __bluetooth_input_keyback_cb(void *data,
        FN_END;
 }
 
-static void __bluetooth_pin_check_clicked_cb(void *data, Evas_Object *obj,
-                                                       void *event_info)
+static void __bluetooth_pin_check_clicked_cb(void *data, Evas_Object *obj, void *event_info)
 {
        FN_START;
        ret_if(!obj || !data);
@@ -1417,8 +1416,7 @@ static void __bluetooth_pin_check_clicked_cb(void *data, Evas_Object *obj,
        FN_END;
 }
 
-static void __bluetooth_pswd_check_box_sel(void *data, Evas_Object *obj,
-                                                       void *event_info)
+static void __bluetooth_pswd_check_box_sel(void *data, Evas_Object *obj, void *event_info)
 {
        FN_START;
        ret_if(!obj || !data);
@@ -1917,7 +1915,7 @@ static GDBusProxy* __bluetooth_create_agent_proxy(GDBusConnection *conn,
                                path,
                                "org.bluez.Profile1",
                                NULL, NULL);
-       } else if(g_strcmp0(path, "/org/obex/server_agent") == 0) {
+       } else if (g_strcmp0(path, "/org/obex/server_agent") == 0) {
                BT_INFO("bt-service %s requested", path);
                return g_dbus_proxy_new_sync(conn, G_DBUS_PROXY_FLAGS_NONE,
                                NULL, "org.projectx.bt",