From: Daehyeon Jung Date: Tue, 5 Jan 2016 12:57:49 +0000 (+0900) Subject: fix misuse of bundle_get_byte X-Git-Tag: accepted/tizen/mobile/20160112.223845^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F34%2F56234%2F1;p=platform%2Fcore%2Fappfw%2Faul-1.git fix misuse of bundle_get_byte Change-Id: Idc09995108f6de67e2c0aeae4a397a55550bdfcb --- diff --git a/src/app_com.c b/src/app_com.c index 69062e0..3e13b8c 100644 --- a/src/app_com.c +++ b/src/app_com.c @@ -42,7 +42,7 @@ int app_com_recv(bundle *b) int ret = 0; char *endpoint = NULL; size_t result_sz; - int result; + int *result; GList *head = handlers; aul_app_com_connection_s *handler = NULL; @@ -60,7 +60,7 @@ int app_com_recv(bundle *b) while (head) { handler = (aul_app_com_connection_s *)head->data; if (handler && handler->endpoint && g_strcmp0(handler->endpoint, endpoint) == 0) - handler->callback(endpoint, result, b, handler->user_data); + handler->callback(endpoint, *result, b, handler->user_data); head = head->next; }