BUILD: fix compilation error with DEBUG_FULL
Recent changes in structures broke the compilation when using DEBUG_FULL.
Let's update apply the changes also to the variables used in DPRINTF calls.
diff --git a/src/session.c b/src/session.c
index 6fb79e3..b98b878 100644
--- a/src/session.c
+++ b/src/session.c
@@ -863,7 +863,7 @@
s->req, s->rep,
s->req->rex, s->rep->wex,
s->req->flags, s->rep->flags,
- s->req->i, s->req->o, s->rep->i, s->rep->o, s->rep->cons->state, s->req->cons->state);
+ s->req->buf.i, s->req->buf.o, s->rep->buf.i, s->rep->buf.o, s->rep->cons->state, s->req->cons->state);
if (si->state == SI_ST_ASS) {
/* Server assigned to connection request, we have to try to connect now */
@@ -1051,7 +1051,7 @@
s->req, s->rep,
s->req->rex, s->rep->wex,
s->req->flags, s->rep->flags,
- s->req->i, s->req->o, s->rep->i, s->rep->o, s->rep->cons->state, s->req->cons->state);
+ s->req->buf.i, s->req->buf.o, s->rep->buf.i, s->rep->buf.o, s->rep->cons->state, s->req->cons->state);
if (si->state != SI_ST_REQ)
return;
@@ -1100,7 +1100,7 @@
req,
req->rex, req->wex,
req->flags,
- req->i,
+ req->buf.i,
req->analysers);
/* now check whether we have some switching rules for this request */
@@ -1195,7 +1195,7 @@
req,
req->rex, req->wex,
req->flags,
- req->i + req->o,
+ req->buf.i + req->buf.o,
req->analysers);
if (!(s->flags & SN_ASSIGNED)) {
@@ -1244,7 +1244,7 @@
req,
req->rex, req->wex,
req->flags,
- req->i,
+ req->buf.i,
req->analysers);
list_for_each_entry(rule, &px->sticking_rules, list) {
@@ -1334,7 +1334,7 @@
rep,
rep->rex, rep->wex,
rep->flags,
- rep->i,
+ rep->buf.i,
rep->analysers);
list_for_each_entry(rule, &px->storersp_rules, list) {
@@ -1581,7 +1581,7 @@
s->req, s->rep,
s->req->rex, s->rep->wex,
s->req->flags, s->rep->flags,
- s->req->i, s->req->o, s->rep->i, s->rep->o, s->rep->cons->state, s->req->cons->state,
+ s->req->buf.i, s->req->buf.o, s->rep->buf.i, s->rep->buf.o, s->rep->cons->state, s->req->cons->state,
s->rep->cons->err_type, s->req->cons->err_type,
s->req->cons->conn_retries);