commit | 8273bfc63903eb2ca222a4a819d2284177567fdd | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Thu Mar 30 12:17:47 2023 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Apr 21 14:36:45 2023 +0200 |
tree | b5396022bf2826aaf24356b02669808f403f1796 | |
parent | a63f4903c9dbaab4f92000ad3dcd67c479ca6b7b [diff] |
BUG/MINOR: event_hdl: don't waste 1 event subtype slot ESUB_INDEX(n) index macro is used exclusively with n > 0 Fixing it so that it starts numbering at 1 instead of 2. This way, we don't waste a subtype slot in event_hdl_sub_type struct, and we comply with the structure comments about max supported event subtypes (currently set at 16). If 68e692da0 ("MINOR: event_hdl: add event handler base api") is being backported, then this commit should be backported with it.