Opened 6 years ago

Closed 6 years ago

#1657 closed defect (fixed)

A minor code clean for ngx_event.h

Reported by: chronolaw@… Owned by:
Priority: trivial Milestone:
Component: nginx-core Version: 1.15.x
Keywords: event Cc:
uname -a:
nginx -V: nginx version: nginx/1.15.3


When I write my own event module I found that the macro ngx_event_get_conf has a minor defect: there is an unnecessary ';' at the end of the macro. This ';' will case the macro can not be used as function's parameter, and it is different from other xxx_get_conf.

Shall we remove this ';'? Here is my patch, thanks.

Attachments (1)

ngx_event.h.patch (738 bytes ) - added by chronolaw@… 6 years ago.

Download all attachments as: .zip

Change History (2)

by chronolaw@…, 6 years ago

Attachment: ngx_event.h.patch added

comment:1 by Maxim Dounin, 6 years ago

Resolution: fixed
Status: newclosed

Committed (874d47ac871a), thanks.

Note: See TracTickets for help on using tickets.