From: Marius Vollmer Date: Mon, 8 Apr 2013 08:19:44 +0000 (+0300) Subject: journal: Fix typo X-Git-Tag: v201~26 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=23e97f7d9274b90fb0e1664945dc6259fdae6d39;ds=sidebyside journal: Fix typo This would break backwards skipping. https://bugs.freedesktop.org/show_bug.cgi?id=63250 --- diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index c1f69827e..7e06a7034 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -602,7 +602,7 @@ static int next_for_match( return r; if ((direction == DIRECTION_DOWN ? cp >= after_offset : cp <= after_offset) && - (np == 0 || (direction == DIRECTION_DOWN ? cp > np : np < cp))) { + (np == 0 || (direction == DIRECTION_DOWN ? cp > np : cp < np))) { np = cp; continue_looking = true; }