X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fjournal%2Fsd-journal.c;h=78a91a3eb00c46d3b88ef691f7fc259ea0ab8100;hp=1833c75340311fc217d789192041b818ed825af3;hb=cf5eb6a110c39b36dd07457180b749f32488bcf5;hpb=b4e5f9201706cbd0c83645175649119e87c2c91c diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 1833c7534..78a91a3eb 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -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) {