diff options
author | Daniel Mack <github@zonque.org> | 2016-01-22 09:06:20 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-01-22 09:06:20 +0100 |
commit | 808abf0969aa33abbc45ae6f6059b4c597a5b7a3 (patch) | |
tree | 95b52461cf20de673a1ac848e8eba0da383d6c73 /src/journal-remote/journal-remote.c | |
parent | e77435f2b09f4e9e7f2b12cc89273ef53910f3e7 (diff) | |
parent | 530a071ab582cd5852cd7186e084136d3369d54a (diff) |
Merge pull request #2411 from ssahani/activate4
systemd-activate: Add support for datagram socket
Diffstat (limited to 'src/journal-remote/journal-remote.c')
-rw-r--r-- | src/journal-remote/journal-remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c index 2126606661..3d71685b33 100644 --- a/src/journal-remote/journal-remote.c +++ b/src/journal-remote/journal-remote.c @@ -447,7 +447,7 @@ static int add_raw_socket(RemoteServer *s, int fd) { static int setup_raw_socket(RemoteServer *s, const char *address) { int fd; - fd = make_socket_fd(LOG_INFO, address, SOCK_STREAM | SOCK_CLOEXEC); + fd = make_socket_fd(LOG_INFO, address, SOCK_STREAM, SOCK_CLOEXEC); if (fd < 0) return fd; @@ -765,7 +765,7 @@ static int setup_microhttpd_socket(RemoteServer *s, const char *trust) { int fd; - fd = make_socket_fd(LOG_DEBUG, address, SOCK_STREAM | SOCK_CLOEXEC); + fd = make_socket_fd(LOG_DEBUG, address, SOCK_STREAM, SOCK_CLOEXEC); if (fd < 0) return fd; |