Fixed the code style

杜叶飞(淮叶) yefei.dyf at alibaba-inc.com
Thu Dec 15 11:53:22 UTC 2022


Hello!
# HG changeset patch
# User BullerDu <yefei.dyf at alibaba-inc.com>
# Date 1671104973 -28800
# Thu Dec 15 19:49:33 2022 +0800
# Branch bugfix_style
# Node ID 43aa2b889da22758b567964667e95071ad453e59
# Parent c38588d8376b77fc2f56f90ca16533031b235491
Style.
diff -r c38588d8376b -r 43aa2b889da2 src/core/ngx_conf_file.c
--- a/src/core/ngx_conf_file.c Tue Dec 13 18:53:53 2022 +0300
+++ b/src/core/ngx_conf_file.c Thu Dec 15 19:49:33 2022 +0800
@@ -544,8 +544,8 @@
 }
 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 c38588d8376b -r 43aa2b889da2 src/event/ngx_event_udp.c
--- a/src/event/ngx_event_udp.c Tue Dec 13 18:53:53 2022 +0300
+++ b/src/event/ngx_event_udp.c Thu Dec 15 19:49:33 2022 +0800
@@ -88,7 +88,7 @@
 msg.msg_controllen = sizeof(msg_control);
 ngx_memzero(&msg_control, sizeof(msg_control));
- }
+ }
 #endif
 n = recvmsg(lc->fd, &msg, 0);
diff -r c38588d8376b -r 43aa2b889da2 src/os/unix/ngx_udp_sendmsg_chain.c
--- a/src/os/unix/ngx_udp_sendmsg_chain.c Tue Dec 13 18:53:53 2022 +0300
+++ b/src/os/unix/ngx_udp_sendmsg_chain.c Thu Dec 15 19:49:33 2022 +0800
@@ -335,7 +335,7 @@
 #endif
- #if (NGX_HAVE_IP_RECVDSTADDR)
+#if (NGX_HAVE_IP_RECVDSTADDR)
 if (cmsg->cmsg_level == IPPROTO_IP
 && cmsg->cmsg_type == IP_RECVDSTADDR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20221215/81e50763/attachment.htm>


More information about the nginx-devel mailing list