Buf fixs and CMUX enabled.
[profile/ivi/tel-plugin-imc.git] / src / s_call.c
index fdcebf2..b14c650 100755 (executable)
@@ -342,8 +342,7 @@ static enum tcore_call_type call_type(int type)
 \r
 static int _compare_call_end_cause(int networkcause)\r
 {\r
-    dbg("Entry");\r
-       unsigned int count;\r
+       unsigned int count;\r
     for (count = 0; count < sizeof(call_end_cause_table)/sizeof(call_end_cause_info); count++){\r
         if (call_end_cause_table[count].network_cause == networkcause)\r
             return (call_end_cause_table[count].tapi_cause);\r
@@ -1667,9 +1666,8 @@ static void on_confirmation_call_set_source_sound_volume_level(TcorePending *p,
        struct tresp_call_sound_set_volume_level resp;\r
        int error;\r
 \r
-       dbg("Entry");\r
-\r
        ur = tcore_pending_ref_user_request(p);\r
+       dbg("Entry");\r
        // +XDRV: <group_id>,<function_id>,<xdrv_result>[,<response_n>]\ 3\r
        if (!response) {\r
                err("Input data is NULL");\r
@@ -3014,10 +3012,10 @@ static TReturn s_call_set_sound_volume_level(CoreObject *o, UserRequest *ur)
        TcoreATRequest *dest_req = NULL;\r
        char *cmd_str = NULL, *volume_level = NULL;\r
        gboolean ret = FALSE;\r
-       dbg("Entry");\r
 \r
        struct treq_call_sound_set_volume_level* data = NULL;\r
        data = (struct treq_call_sound_set_volume_level*)tcore_user_request_ref_data( ur, 0 );\r
+       dbg("Entry");\r
        // Hard-coded values for MIC & Speakers\r
        // Source volume\r
        dbg("Set Source volume");\r