[nginx] Style.
Sergey Kandaurov
pluknet at nginx.com
Thu Dec 15 21:25:17 UTC 2022
details: https://hg.nginx.org/nginx/rev/3108d4d668e4
branches:
changeset: 8116:3108d4d668e4
user: BullerDu <yefei.dyf at alibaba-inc.com>
date: Fri Dec 16 01:15:15 2022 +0400
description:
Style.
diffstat:
src/core/ngx_conf_file.c | 4 ++--
src/event/ngx_event_udp.c | 2 +-
src/os/unix/ngx_udp_sendmsg_chain.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r d85ce1df2313 -r 3108d4d668e4 src/core/ngx_conf_file.c
--- a/src/core/ngx_conf_file.c Fri Dec 16 01:15:13 2022 +0400
+++ b/src/core/ngx_conf_file.c Fri Dec 16 01:15:15 2022 +0400
@@ -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 -r d85ce1df2313 -r 3108d4d668e4 src/event/ngx_event_udp.c
--- a/src/event/ngx_event_udp.c Fri Dec 16 01:15:13 2022 +0400
+++ b/src/event/ngx_event_udp.c Fri Dec 16 01:15:15 2022 +0400
@@ -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 -r d85ce1df2313 -r 3108d4d668e4 src/os/unix/ngx_udp_sendmsg_chain.c
--- a/src/os/unix/ngx_udp_sendmsg_chain.c Fri Dec 16 01:15:13 2022 +0400
+++ b/src/os/unix/ngx_udp_sendmsg_chain.c Fri Dec 16 01:15:15 2022 +0400
@@ -335,7 +335,7 @@ ngx_get_srcaddr_cmsg(struct cmsghdr *cms
#endif
- #if (NGX_HAVE_IP_RECVDSTADDR)
+#if (NGX_HAVE_IP_RECVDSTADDR)
if (cmsg->cmsg_level == IPPROTO_IP
&& cmsg->cmsg_type == IP_RECVDSTADDR
More information about the nginx-devel
mailing list