Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5bf3b83 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

logd: whitelist should not preserve expire messages

Change-Id: I56275c73191b96aa21e7b4049d401e1f44211f9b
parent 02b29c49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -526,7 +526,7 @@ void LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) {
            break;
        }

        if (hasWhitelist && mPrune.nice(e)) { // WhiteListed
        if (hasWhitelist && !e->getDropped() && mPrune.nice(e)) { // WhiteListed
            whitelist = true;
            it++;
            continue;