CLEANUP: backend: Remove useless debug message in assign_server()
When compiled in debug mode, HAProxy prints a debug message at the beginning
of assign_server(). It is pretty annoying and useless because, in debug
mode, we can active stream traces. Thus, just remove it.
(cherry picked from commit cbfcb02e2136708e629631666d20ea5634f627b2)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit c40eb19e19c73ddc58c8f26510982db76d54f1c6)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit ff390e9097d21282ba57734b25062829071dc1a6)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit db40218af66dffe7be6728fe2cdf99c9d848608c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/src/backend.c b/src/backend.c
index 64780e4..c6b5f23 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -590,8 +590,6 @@
struct server *srv = NULL, *prev_srv;
int err;
- DPRINTF(stderr,"assign_server : s=%p\n",s);
-
err = SRV_STATUS_INTERNAL;
if (unlikely(s->pend_pos || s->flags & SF_ASSIGNED))
goto out_err;