Fix error for log 87/302587/1
authorSukhyungKang <shine.kang@samsung.com>
Sun, 10 Dec 2023 23:52:26 +0000 (08:52 +0900)
committerSukhyungKang <shine.kang@samsung.com>
Sun, 10 Dec 2023 23:52:26 +0000 (08:52 +0900)
Change-Id: Ida40fe018f75a5e8c23222d2daea519171c16783
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
notification/src/notification_internal.c

index 207294b..79059f9 100644 (file)
@@ -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);