summaryrefslogtreecommitdiffstats
path: root/logd/LogWhiteBlackList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logd/LogWhiteBlackList.cpp')
-rw-r--r--logd/LogWhiteBlackList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logd/LogWhiteBlackList.cpp b/logd/LogWhiteBlackList.cpp
index d0ceb9f..5f8173f 100644
--- a/logd/LogWhiteBlackList.cpp
+++ b/logd/LogWhiteBlackList.cpp
@@ -154,8 +154,8 @@ int PruneList::init(char *str) {
}
m = pid - p->mPid;
}
- if (m >= 0) {
- if (m > 0) {
+ if (m <= 0) {
+ if (m < 0) {
list->insert(it, new Prune(uid,pid));
}
break;