diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-12-03 02:20:39 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-12-03 09:14:01 -0500 |
commit | 726f4c4738e74c5b2d1f9b4eede3a7f753440e8d (patch) | |
tree | ea962f4b78b0172f7fb28040c4f638abbdd556de /src/journal/journal-send.c | |
parent | 85049096c75484460e219b97390e29e8381a07f8 (diff) |
journal: unbreak sd_journal_sendv
Borked since
commit 3ee897d6c2401effbc82f5eef35fce405781d6c8
Author: Lennart Poettering <lennart@poettering.net>
Date: Wed Sep 23 01:00:04 2015 +0200
tree-wide: port more code to use send_one_fd() and receive_one_fd()
because here our fd is not connected and we need to specify
the address.
Diffstat (limited to 'src/journal/journal-send.c')
-rw-r--r-- | src/journal/journal-send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-send.c b/src/journal/journal-send.c index 8b3a367632..adb3af006d 100644 --- a/src/journal/journal-send.c +++ b/src/journal/journal-send.c @@ -337,7 +337,7 @@ _public_ int sd_journal_sendv(const struct iovec *iov, int n) { return r; } - return send_one_fd(fd, buffer_fd, 0); + return send_one_fd_sa(fd, buffer_fd, mh.msg_name, mh.msg_namelen, 0); } static int fill_iovec_perror_and_send(const char *message, int skip, struct iovec iov[]) { |