journal: fix reverse traversing of entries

This commit is contained in:
Lennart Poettering
2012-01-04 03:45:50 +01:00
parent b4e5f92017
commit cf5eb6a110
+1 -1
View File
@@ -488,7 +488,7 @@ static int next_with_matches(sd_journal *j, JournalFile *f, direction_t directio
/* Make sure we don't match the entry we are starting
* from. */
found = cp > *offset;
found = cp != *offset;
np = 0;
LIST_FOREACH(matches, m, j->matches) {