From 3f263b979559a32494c74e5ea95355298eaa5fa3 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Mon, 8 Apr 2013 11:19:44 +0300 Subject: [PATCH] Fix typo. This would break backwards skipping. --- 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 82cacf3..698dcdb 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; } -- 1.8.1.4