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:
b4e5f92
)
journal: fix reverse traversing of entries
author
Lennart Poettering
<lennart@poettering.net>
Wed, 4 Jan 2012 02:45:50 +0000
(
03:45
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 4 Jan 2012 02:45:50 +0000
(
03:45
+0100)
src/journal/sd-journal.c
patch
|
blob
|
history
diff --git
a/src/journal/sd-journal.c
b/src/journal/sd-journal.c
index 1833c75340311fc217d789192041b818ed825af3..78a91a3eb00c46d3b88ef691f7fc259ea0ab8100 100644
(file)
--- 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) {