diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-10-20 12:39:07 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-10-20 12:57:31 +0200 |
commit | 983e637872672c3a68d77180478db377060b6b9e (patch) | |
tree | 5f791a90440252d4b99f91c5d39153a3c1f98116 /src/resolve/resolved-manager.c | |
parent | tree-wide: inline declarations of sd_netlink_message iterators (diff) | |
download | systemd-983e637872672c3a68d77180478db377060b6b9e.tar.xz systemd-983e637872672c3a68d77180478db377060b6b9e.zip |
resolved: drop unnecessary empty lines
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r-- | src/resolve/resolved-manager.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index 316e2ea403..f62efa87aa 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -876,10 +876,8 @@ static int sendmsg_loop(int fd, struct msghdr *mh, int flags) { for (;;) { if (sendmsg(fd, mh, flags) >= 0) return 0; - if (errno == EINTR) continue; - if (errno != EAGAIN) return -errno; @@ -900,10 +898,8 @@ static int write_loop(int fd, void *message, size_t length) { for (;;) { if (write(fd, message, length) >= 0) return 0; - if (errno == EINTR) continue; - if (errno != EAGAIN) return -errno; |