From 23e97f7d9274b90fb0e1664945dc6259fdae6d39 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Mon, 8 Apr 2013 11:19:44 +0300 Subject: [PATCH] journal: Fix typo This would break backwards skipping. https://bugs.freedesktop.org/show_bug.cgi?id=63250 --- src/journal/sd-journal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2