summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_socket.c
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2024-01-16 15:37:07 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2024-01-16 15:37:07 +0000
commita1e00b4e28d56365b4b5cc4aa44185c4b53f5c33 (patch)
treed733e3560e2734d7bfdd4c92df6ad3736e3a1e0b /src/nxt_socket.c
parent5a8337933df1cf3aba967d86549e236dd9173386 (diff)
downloadunit-a1e00b4e28d56365b4b5cc4aa44185c4b53f5c33.tar.gz
unit-a1e00b4e28d56365b4b5cc4aa44185c4b53f5c33.tar.bz2
White space formatting fixes
Closes: <https://github.com/nginx/unit/pull/1062>
Diffstat (limited to '')
-rw-r--r--src/nxt_socket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nxt_socket.c b/src/nxt_socket.c
index a8e0d514..9ac8ecd2 100644
--- a/src/nxt_socket.c
+++ b/src/nxt_socket.c
@@ -322,15 +322,15 @@ nxt_socket_error(nxt_socket_t s)
err = 0;
len = sizeof(int);
- /*
- * Linux and BSDs return 0 and store a pending error in the err argument;
+ /*
+ * Linux and BSDs return 0 and store a pending error in the err argument;
* Solaris returns -1 and sets the errno.
- */
+ */
ret = getsockopt(s, SOL_SOCKET, SO_ERROR, (void *) &err, &len);
if (nxt_slow_path(ret == -1)) {
err = nxt_errno;
- }
+ }
return err;
}