[nginx] A minor code clean for macro ngx_event_get_conf in ngx_event.h.

Maxim Dounin mdounin at mdounin.ru
Tue Oct 23 19:44:38 UTC 2018


details:   http://hg.nginx.org/nginx/rev/874d47ac871a
branches:  
changeset: 7373:874d47ac871a
user:      chronolaw <chronolaw at gmail.com>
date:      Fri Oct 19 13:50:36 2018 +0800
description:
A minor code clean for macro ngx_event_get_conf in ngx_event.h.

diffstat:

 src/event/ngx_event.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h
--- a/src/event/ngx_event.h
+++ b/src/event/ngx_event.h
@@ -499,7 +499,7 @@ extern ngx_module_t           ngx_event_
 
 
 #define ngx_event_get_conf(conf_ctx, module)                                  \
-             (*(ngx_get_conf(conf_ctx, ngx_events_module))) [module.ctx_index];
+             (*(ngx_get_conf(conf_ctx, ngx_events_module))) [module.ctx_index]
 
 
 


More information about the nginx-devel mailing list