Add package paremeter to application filter
[platform/core/appfw/pkgmgr-info.git] / src / server / filter_checker / app_filter_checker / category_app_filter_checker.cc
index c84737a..55d5e53 100644 (file)
@@ -25,8 +25,8 @@ namespace pkgmgr_server {
 namespace database {
 
 bool CategoryAppFilterChecker::CheckFilter(pkgmgrinfo_node_x* node,
-                                           application_x* info) {
-  for (auto* it = info->category; it != nullptr; it = g_list_next(it)) {
+    application_x* app_info, package_x* pkg_info) {
+  for (auto* it = app_info->category; it != nullptr; it = g_list_next(it)) {
     char* value = reinterpret_cast<char*>(it->data);
     if (value != nullptr && strcmp(value, node->value) == 0) return true;
   }