From: SukhyungKang Date: Sun, 10 Dec 2023 23:52:26 +0000 (+0900) Subject: Fix error for log X-Git-Tag: accepted/tizen/8.0/unified/20231219.160159~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=aa07054734252e656979132ac3e149a76e479d10;p=platform%2Fcore%2Fapi%2Fnotification.git Fix error for log Change-Id: Ida40fe018f75a5e8c23222d2daea519171c16783 Signed-off-by: SukhyungKang --- diff --git a/notification/src/notification_internal.c b/notification/src/notification_internal.c index 207294b..79059f9 100644 --- a/notification/src/notification_internal.c +++ b/notification/src/notification_internal.c @@ -153,7 +153,7 @@ void notification_call_event_handler_cb(notification_h noti, int event_type) GList *find_list; notification_event_cb_info_s *info; - WARN("call noti id [%d] event[%d]", info->priv_id, event_type); + WARN("call event[%d]", event_type); if (__noti_event_cb_list == NULL) return; @@ -162,6 +162,8 @@ void notification_call_event_handler_cb(notification_h noti, int event_type) if (ret != NOTIFICATION_ERROR_NONE) return; + WARN("noti id : [%d]", priv_id); + __noti_event_cb_list = g_list_first(__noti_event_cb_list); find_list = g_list_find_custom(__noti_event_cb_list, GINT_TO_POINTER(priv_id), (GCompareFunc)__priv_id_compare);