summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-04 07:48:50 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-04 07:48:50 +0300
commitfc6c4fdeb6cdfb1cd7ef80f459083ddfbdae6816 (patch)
treed963d55be9566421b99a1d78e2df8d00ec2b2b98 /src/nxt_master_process.c
parenta94178a05e7a96c5c6ccf144aad90695d3773b4b (diff)
downloadunit-fc6c4fdeb6cdfb1cd7ef80f459083ddfbdae6816.tar.gz
unit-fc6c4fdeb6cdfb1cd7ef80f459083ddfbdae6816.tar.bz2
Fixed building by GCC.
Diffstat (limited to 'src/nxt_master_process.c')
-rw-r--r--src/nxt_master_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c
index e4b95fe8..bb0e4f32 100644
--- a/src/nxt_master_process.c
+++ b/src/nxt_master_process.c
@@ -771,7 +771,7 @@ nxt_master_listening_socket(nxt_sockaddr_t *sa, nxt_listening_socket_t *ls)
nxt_socket_t s;
const socklen_t length = sizeof(int);
- const static int enable = 1;
+ static const int enable = 1;
s = socket(sa->u.sockaddr.sa_family, sa->type, 0);