]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolved: drop unnecessary empty lines
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 20 Oct 2022 10:39:07 +0000 (12:39 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 20 Oct 2022 10:57:31 +0000 (12:57 +0200)
src/resolve/resolved-manager.c

index 316e2ea4033875862738f03cec3128cee25b32ca..f62efa87aac7487f4aa13b3bc2cfb6c548ff0d43 100644 (file)
@@ -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;