Fix the coding rule 87/95887/1 accepted/tizen/ivi/20161108.001306 accepted/tizen/mobile/20161108.001209 accepted/tizen/tv/20161108.001239 accepted/tizen/wearable/20161108.001251 submit/tizen/20161107.085724
authorHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 7 Nov 2016 04:48:34 +0000 (13:48 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 7 Nov 2016 04:48:34 +0000 (13:48 +0900)
Change-Id: Ia1116a8e1d8e21bb3b05758f0f0cbca4f43f576b
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
src/bt-syspopup-m.c

index 90c424c..4d909f2 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",