summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Swierczek <t.swierczek@samsung.com>2017-09-07 07:23:35 (GMT)
committerTomasz Swierczek <t.swierczek@samsung.com>2017-09-07 07:25:44 (GMT)
commit8e82e6dc1e208b554ac31f286f531143f15ad51c (patch)
treec9ecf35225542e0ec56af8a9928eb9ffe402d077
parentf5b7ddbd5f06f2169edaad53ca70e4107d387d53 (diff)
downloadcert-checker-tizen_3.0.zip
cert-checker-tizen_3.0.tar.gz
cert-checker-tizen_3.0.tar.bz2
Fix SVACE defect: improper comparison in < operator of PkgmgrEventsubmit/tizen_3.0/20170907.103734tizen_3.0refs/changes/38/148238/1
Change-Id: I4475dfd91a8ae0ffb734307c201927bd5d0cd2df Signed-off-by: Tomasz Swierczek <t.swierczek@samsung.com>
-rw-r--r--src/service/logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/logic.cpp b/src/service/logic.cpp
index d762721..ce11142 100644
--- a/src/service/logic.cpp
+++ b/src/service/logic.cpp
@@ -52,7 +52,7 @@ struct PkgmgrEvent {
{
if (uid < rhs.uid)
return true;
- else if (uid < rhs.uid)
+ else if (uid > rhs.uid)
return false;
else
return pkgid.compare(rhs.pkgid) < 0;