chiark / gitweb /
Reintroduce f_type comparison macro
[elogind.git] / src / journal / sd-journal.c
index 064929bf18486f1a46fe805a87d82db99f387696..15239b5688d8bde6743d80d13f3726b50ff6d77b 100644 (file)
@@ -109,6 +109,9 @@ static void set_location(sd_journal *j, LocationType type, JournalFile *f, Objec
 
         init_location(&j->current_location, type, f, o);
 
+        if (j->current_file)
+                j->current_file->current_offset = 0;
+
         j->current_file = f;
         j->current_field = 0;