Opened 6 years ago
Closed 6 years ago
#1657 closed defect (fixed)
A minor code clean for ngx_event.h
Reported by: | 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 |
Description
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)
Change History (2)
by , 6 years ago
Attachment: | ngx_event.h.patch added |
---|
comment:1 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Committed (874d47ac871a), thanks.