summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-11-24 16:27:39 +0100
committerJeremy Allison <jra@samba.org>2014-11-24 18:52:05 +0100
commit281c58e04654e152caead47602603cfbf7fd4e0f (patch)
treed8fe23c71acec0e27816546820f1275a9be7049a /source3
parent6557a0218a3f8d9b6072718ef2ed0e548bd9b5c2 (diff)
downloadsamba-281c58e04654e152caead47602603cfbf7fd4e0f.tar.gz
unix_msg: Reformat unix_dgram_send a bit
This makes the next commit a bit more readable Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/unix_msg/unix_msg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/unix_msg/unix_msg.c b/source3/lib/unix_msg/unix_msg.c
index 00ac7f52d3d..9641bff5566 100644
--- a/source3/lib/unix_msg/unix_msg.c
+++ b/source3/lib/unix_msg/unix_msg.c
@@ -741,7 +741,9 @@ static int unix_dgram_send(struct unix_dgram_ctx *ctx,
if (ret >= 0) {
return 0;
}
- if ((errno != EWOULDBLOCK) && (errno != EAGAIN) && (errno != EINTR)) {
+ if ((errno != EWOULDBLOCK) &&
+ (errno != EAGAIN) &&
+ (errno != EINTR)) {
return errno;
}