Add missing argument to get num_changes 42/137542/2
authorMyungki Lee <mk5004.lee@samsung.com>
Thu, 6 Jul 2017 08:48:51 +0000 (17:48 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Thu, 6 Jul 2017 09:03:57 +0000 (18:03 +0900)
- notification_noti_delete_by_priv_id_get_changes
  To get num_changes

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

index 0d27fd3..5602c8a 100755 (executable)
@@ -1335,7 +1335,7 @@ EXPORT_API int notification_noti_delete_by_priv_id_get_changes(const char *app_i
                goto err;
        }
 
-       ret = notification_db_exec(db, query, NULL);
+       ret = notification_db_exec(db, query, num_changes);
 
 err:
        if (query)