chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c962c8
)
journal: Fix typo
author
Marius Vollmer
<mvollmer@redhat.com>
Mon, 8 Apr 2013 08:19:44 +0000
(11:19 +0300)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 8 Apr 2013 09:08:38 +0000
(11:08 +0200)
This would break backwards skipping.
https://bugs.freedesktop.org/show_bug.cgi?id=63250
src/journal/sd-journal.c
patch
|
blob
|
history
diff --git
a/src/journal/sd-journal.c
b/src/journal/sd-journal.c
index c1f69827e98cd1754049cfd71e3906e4d617ee39..7e06a70344ac55eb5e70bfd4e0e311badb605f8f 100644
(file)
--- 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 < c
p))) {
+ (np == 0 || (direction == DIRECTION_DOWN ? cp > np :
cp < n
p))) {
np = cp;
continue_looking = true;
}