summaryrefslogtreecommitdiff
path: root/src/journal/journal-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-10 01:34:27 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-10 01:34:27 +0200
commita87247dd5dc3892f858e920d09b16cc2a8b9b3c4 (patch)
tree6186b72d584bd1ed9b4287ea117c0bf239a7c4cb /src/journal/journal-internal.h
parent96ede2601f27cd5fe52eed96b873bef55cd0ce23 (diff)
journal: make sure sd_journal_seek_cursor() seeks to the specified entry if it exists, not one after it
Diffstat (limited to 'src/journal/journal-internal.h')
-rw-r--r--src/journal/journal-internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journal-internal.h b/src/journal/journal-internal.h
index 86519be3d4..7cedcac665 100644
--- a/src/journal/journal-internal.h
+++ b/src/journal/journal-internal.h
@@ -59,7 +59,8 @@ struct Match {
typedef enum LocationType {
LOCATION_HEAD,
LOCATION_TAIL,
- LOCATION_DISCRETE
+ LOCATION_DISCRETE,
+ LOCATION_SEEK
} LocationType;
struct Location {