diff --git a/src/backend.c b/src/backend.c index c8c2b9dea..4231c3470 100644 --- a/src/backend.c +++ b/src/backend.c @@ -770,9 +770,7 @@ int assign_server_address(struct stream *s) struct connection *cli_conn = objt_conn(strm_orig(s)); struct connection *srv_conn = cs_conn(objt_cs(s->si[1].end)); -#ifdef DEBUG_FULL - fprintf(stderr,"assign_server_address : s=%p\n",s); -#endif + DPRINTF(stderr,"assign_server_address : s=%p\n",s); if ((s->flags & SF_DIRECT) || (s->be->lbprm.algo & BE_LB_KIND)) { /* A server is necessarily known for this stream */ diff --git a/src/stream.c b/src/stream.c index 63d220112..1dcd1e7d9 100644 --- a/src/stream.c +++ b/src/stream.c @@ -2441,13 +2441,11 @@ struct task *process_stream(struct task *t) if (si_b->exp) t->expire = tick_first(t->expire, si_b->exp); -#ifdef DEBUG_FULL - fprintf(stderr, + DPRINTF(stderr, "[%u] queuing with exp=%u req->rex=%u req->wex=%u req->ana_exp=%u" " rep->rex=%u rep->wex=%u, si[0].exp=%u, si[1].exp=%u, cs=%d, ss=%d\n", now_ms, t->expire, req->rex, req->wex, req->analyse_exp, res->rex, res->wex, si_f->exp, si_b->exp, si_f->state, si_b->state); -#endif #ifdef DEBUG_DEV /* this may only happen when no timeout is set or in case of an FSM bug */