commit | 2ae25ea24b26e0d3dcdfe58f7c15f3dca53353bd | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu May 12 14:50:09 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue May 17 16:13:22 2022 +0200 |
tree | e21ce893b71fc5562794649c864a981c14eb42b1 | |
parent | b1e0836ecf484a2f65a2165f1ce5b673462ae467 [diff] |
MINOR: sink: Add a ref to sink in the sink_forward_target structure This change is required to be able to refactor the init stage of appctx. It is now possible to directly get the sink from a forward target.
diff --git a/src/sink.c b/src/sink.c index 5939185..681f363 100644 --- a/src/sink.c +++ b/src/sink.c
@@ -1005,6 +1005,7 @@ /* insert into sink_forward_targets * list into sink */ + sft->sink = sink; sft->next = sink->sft; sink->sft = sft;