diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-10-19 16:36:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-10-20 10:43:50 +0200 |
commit | 986235a99a2f2c8be96720d857c7530f9e36603b (patch) | |
tree | 6fcbd933f2207cc978b650f3ef95f3ee43266d4e /src/libsystemd | |
parent | iovec-util: make IOVEC_MAKE_STRING() safer (diff) | |
download | systemd-986235a99a2f2c8be96720d857c7530f9e36603b.tar.xz systemd-986235a99a2f2c8be96720d857c7530f9e36603b.zip |
iovec-util: make IOVEC_INCREMENT a regular function too
Even more than with the previous commit, this is not a trivial function
and there's no reason to believe this will actually be inlined nor that
it would be beneficial.
Diffstat (limited to 'src/libsystemd')
-rw-r--r-- | src/libsystemd/sd-daemon/sd-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-daemon/sd-daemon.c b/src/libsystemd/sd-daemon/sd-daemon.c index 8986596b70..7c370ab7bc 100644 --- a/src/libsystemd/sd-daemon/sd-daemon.c +++ b/src/libsystemd/sd-daemon/sd-daemon.c @@ -592,7 +592,7 @@ static int pid_notify_with_fds_internal( msghdr.msg_control = NULL; msghdr.msg_controllen = 0; } - } while (!IOVEC_INCREMENT(msghdr.msg_iov, msghdr.msg_iovlen, n)); + } while (!iovec_increment(msghdr.msg_iov, msghdr.msg_iovlen, n)); return 1; } |