commit | ca20d02ea8d5508fdbccf4319c0d7c83e67817bd | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Aug 29 15:30:31 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Sep 05 10:35:07 2017 +0200 |
tree | 8d290700142475997afab32fa09c36a0defdbcce | |
parent | ad405f171493fae6ff63f0400f575277a8cd1ecf [diff] |
MINOR: stick-tables: Make static_table_key a struct variable instead of a pointer First, this variable does not need to be publicly exposed because it is only used by stick_table functions. So we declare it as a global static in stick_table.c file. Then, it is useless to use a pointer. Using a plain struct variable avoids any dynamic allocation.