]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal-remote/journal-remote-parse.c
journal-import: extract helpers for handling arrays of iovec and make them available...
[thirdparty/systemd.git] / src / journal-remote / journal-remote-parse.c
index ebcae2fcaaa9b03afb01596f0bd386bb8752bbc3..dc047b2d49955a56266f1e142a76fb99a717d456 100644 (file)
@@ -38,7 +38,7 @@ RemoteSource* source_new(int fd, bool passive_fd, char *name, Writer *writer) {
         if (!source)
                 return NULL;
 
-        source->importer.fd = fd;
+        source->importer = JOURNAL_IMPORTER_MAKE(fd);
         source->importer.passive_fd = passive_fd;
         source->importer.name = name;