commit | f22180f1b658106c08e83918dec64843c52d3d7e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 09 11:08:14 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 09 11:10:30 2012 +0100 |
tree | d5023d579d79b658c5f28e1d556be6bc3d511c96 | |
parent | 9cd7d6ccfe614b058af83a9df831d2a5f364fdb8 [diff] |
BUG/MEDIUM: stick-tables: conversions to strings were broken in dev13 Commit 07115412 (MEDIUM: stick-table: allocate the table key...) broke conversion of samples to strings for stick tables, because if replaced char buf[BUFSIZE] with char buf[0] and the string converters use sizeof on this part. Note that sizeof was wrong as well but at least it used to work. Fix this by making use of the len parameter instead of sizeof.