Swap order of parameter and argument to match proxy and stub 16/258616/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Fri, 21 May 2021 05:35:48 +0000 (14:35 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 21 May 2021 07:24:43 +0000 (16:24 +0900)
Change-Id: I45e103cd370e38d3bb00d7a7a4534a6bbc160c23
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/tts_tidl.c
server/ttsd_tidl.c

index 4c216ce..e8fe6d2 100644 (file)
@@ -436,7 +436,7 @@ int tts_tidl_request_initialize(int uid, bool* credential_needed)
                return TTS_ERROR_OPERATION_FAILED;
        }
 
-       if (0 != rpc_port_proxy_tts_invoke_initialize(tts->rpc_h, client->uid, client->pid, &temp)) {
+       if (0 != rpc_port_proxy_tts_invoke_initialize(tts->rpc_h, client->pid, client->uid, &temp)) {
                SLOG(LOG_ERROR, TAG_TTSC, ">>>> Request tts initialize : Fail to invoke message");
                return TTS_ERROR_OPERATION_FAILED;
        }
index 7e54416..2693dbb 100644 (file)
@@ -130,7 +130,7 @@ int ttsdc_tidl_send_hello(int pid, int uid, int credential_needed)
        return TTSE_ERROR_NONE;
 }
 
-static int __initialize_cb(rpc_port_stub_tts_context_h context, int uid, int pid, bool *credential_needed, void *user_data)
+static int __initialize_cb(rpc_port_stub_tts_context_h context, int pid, int uid, bool *credential_needed, void *user_data)
 {
        SECURE_SLOG(LOG_DEBUG, tts_tag(), "[IN] tts initialize : pid(%d), uid(%d)", pid , uid);