summaryrefslogtreecommitdiff
path: root/src/basic/socket-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-04-19 12:13:23 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-19 12:13:23 +0200
commit5d13a15b1d0bd7d218100d204a84eaaaaeab932f (patch)
tree08d1ba916131ac128453713792cd8498b556de3a /src/basic/socket-util.c
parent6360b8ff8383bb69978e6278298b4a2bef329f25 (diff)
downloadsystemd-5d13a15b1d0bd7d218100d204a84eaaaaeab932f.tar.gz
tree-wide: drop spurious newlines (#8764)
Double newlines (i.e. one empty lines) are great to structure code. But let's avoid triple newlines (i.e. two empty lines), quadruple newlines, quintuple newlines, …, that's just spurious whitespace. It's an easy way to drop 121 lines of code, and keeps the coding style of our sources a bit tigther.
Diffstat (limited to 'src/basic/socket-util.c')
-rw-r--r--src/basic/socket-util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/socket-util.c b/src/basic/socket-util.c
index 7766229822..95a79f7b53 100644
--- a/src/basic/socket-util.c
+++ b/src/basic/socket-util.c
@@ -664,7 +664,6 @@ int sockaddr_pretty(const struct sockaddr *_sa, socklen_t salen, bool translate_
return -EOPNOTSUPP;
}
-
*ret = p;
return 0;
}
@@ -1127,7 +1126,6 @@ int flush_accept(int fd) {
};
int r;
-
/* Similar to flush_fd() but flushes all incoming connection by accepting them and immediately closing them. */
for (;;) {