From: Sangyoon Jang Date: Thu, 8 Feb 2024 00:35:41 +0000 (+0900) Subject: Fix build error X-Git-Tag: accepted/tizen/unified/20240216.161307~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F305781%2F1;p=platform%2Fcore%2Fappfw%2Fapp-installers.git Fix build error Change-Id: I5a4aa5823af42e6bc8061b2c94e5e1783118bf62 Signed-off-by: Sangyoon Jang --- diff --git a/src/common/plugins/metadata_plugin.cc b/src/common/plugins/metadata_plugin.cc index cf2952a..c92b187 100644 --- a/src/common/plugins/metadata_plugin.cc +++ b/src/common/plugins/metadata_plugin.cc @@ -33,7 +33,7 @@ GList* GetMetadataListForKey(GList* list, const std::string& key) { GList* md_list = nullptr; for (metadata_x* meta : GListRange(list)) { // key and val should not be null (at least empty string) - if (!meta->key || !meta->val) { + if (!meta->key || !meta->value) { LOG(ERROR) << "Metadata key or val is null"; continue; }