]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: patterns: get rid of pattern_data_setstring()
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Dec 2011 14:35:46 +0000 (15:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Dec 2011 16:33:25 +0000 (17:33 +0100)
commit1ded605ad5e7a16dbd68463504c70acbd4887e5d
tree181cf8178d97313f53dcb41920aae2f144f46bfa
parent5e6cc4aad8c7a7bd83f64e5a2a360db01bc5003f
CLEANUP: patterns: get rid of pattern_data_setstring()

This function was only used to call chunk_init_len() from another chunk,
which in the end consists in simply assigning the source chunk to the
destination chunk. Let's remove this indirection to make the code clearer.
Anyway it was the only place such a function was used.
src/pattern.c