Fixed the wrong return value of notification_post func 72/142272/1
authorMyungki Lee <mk5004.lee@samsung.com>
Thu, 3 Aug 2017 07:53:41 +0000 (16:53 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Thu, 3 Aug 2017 07:53:41 +0000 (16:53 +0900)
- notification_post_for_uid

Change-Id: I445f803a65c905f4adbdc31edad547217de602b4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
src/notification_internal.c

index 3c6ddc8b3dfb676194112a4a11d70d1b3d5bf596..b2359cefdfbf8d3a7801d47cd8704c40d87d24d1 100755 (executable)
@@ -1396,7 +1396,7 @@ EXPORT_API int notification_post_for_uid(notification_h noti, uid_t uid)
        if (file_list)
                g_list_free_full(file_list, free);
 
-       return NOTIFICATION_ERROR_NONE;
+       return ret;
 }
 
 EXPORT_API int notification_update_for_uid(notification_h noti, uid_t uid)