commit | 5b95ae6b323c40331e668117a5dbd4a0428d7b8e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Sep 25 16:41:05 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 09 11:27:30 2020 +0200 |
tree | 1d429ad8dbf7dbd05a80a02b2f8dfe0bee72e708 | |
parent | 7834a3f70f34b275da1e76bb6c5acd2cf6328400 [diff] |
MINOR: protocol: directly call enable_listener() from protocol_enable_all() protocol_enable_all() calls proto->enable_all() for all protocols, which is always equal to enable_all_listeners() which in turn simply is a generic loop calling enable_listener() always returning ERR_NONE. Let's clean this madness by first calling enable_listener() directly from protocol_enable_all().