commit | 7df4185f3c0ca87fb1fe47522af452d98e0e36e7 | [log] [tgz] |
---|---|---|
author | David Carlier <dcarlier@afilias.info> | Wed Jul 10 21:19:24 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 11 10:20:09 2019 +0200 |
tree | f08c5f5728783582a874c6e5fa9fb169eea0f6a2 | |
parent | bc89ad8d94246eca064b87e76c1897f6a950f6fb [diff] |
BUG/MEDIUM: da: cast the chunk to string. in fetch mode, the output was incorrect, setting the type to string explicitally. This should be backported to all stable versions.
diff --git a/src/da.c b/src/da.c index f5e0135..5549112 100644 --- a/src/da.c +++ b/src/da.c
@@ -254,6 +254,7 @@ smp->data.u.str.area = tmp->area; smp->data.u.str.data = tmp->data; + smp->data.type = SMP_T_STR; return 1; }