summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBullerDu <yefei.dyf@alibaba-inc.com>2022-12-16 01:15:15 +0400
committerBullerDu <yefei.dyf@alibaba-inc.com>2022-12-16 01:15:15 +0400
commit95133893f9821fd08619d5d2af71ea2c3345f095 (patch)
tree91acca18c1609721d11c1861e9838af54a346205
parentbf5dcc3fb23d9ab488236cb08418e58ff881c598 (diff)
downloadnginx-95133893f9821fd08619d5d2af71ea2c3345f095.tar.gz
Style.
-rw-r--r--src/core/ngx_conf_file.c4
-rw-r--r--src/event/ngx_event_udp.c2
-rw-r--r--src/os/unix/ngx_udp_sendmsg_chain.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index fec7bb83a..197704b0f 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -544,8 +544,8 @@ ngx_conf_read_token(ngx_conf_t *cf)
}
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "unexpected end of file, "
- "expecting \";\" or \"}\"");
+ "unexpected end of file, "
+ "expecting \";\" or \"}\"");
return NGX_ERROR;
}
diff --git a/src/event/ngx_event_udp.c b/src/event/ngx_event_udp.c
index 1ac82c7f5..d7a94c76e 100644
--- a/src/event/ngx_event_udp.c
+++ b/src/event/ngx_event_udp.c
@@ -88,7 +88,7 @@ ngx_event_recvmsg(ngx_event_t *ev)
msg.msg_controllen = sizeof(msg_control);
ngx_memzero(&msg_control, sizeof(msg_control));
- }
+ }
#endif
n = recvmsg(lc->fd, &msg, 0);
diff --git a/src/os/unix/ngx_udp_sendmsg_chain.c b/src/os/unix/ngx_udp_sendmsg_chain.c
index e9e6f7091..fa917b569 100644
--- a/src/os/unix/ngx_udp_sendmsg_chain.c
+++ b/src/os/unix/ngx_udp_sendmsg_chain.c
@@ -335,7 +335,7 @@ ngx_get_srcaddr_cmsg(struct cmsghdr *cmsg, struct sockaddr *local_sockaddr)
#endif
- #if (NGX_HAVE_IP_RECVDSTADDR)
+#if (NGX_HAVE_IP_RECVDSTADDR)
if (cmsg->cmsg_level == IPPROTO_IP
&& cmsg->cmsg_type == IP_RECVDSTADDR