]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: dns: Remove a forgotten debug message
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 23 Jun 2021 10:21:43 +0000 (12:21 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 23 Jun 2021 10:21:47 +0000 (12:21 +0200)
A debug message was forgotten in the dns part.

This patch should fix the issue #1304. It must be backported to 2.4.

src/dns.c

index 6e0ae26007e125e8ced9732e950088192c733f9b..d4bf83998e045f14971f5bed520dab97d2cf9592 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
@@ -170,7 +170,6 @@ ssize_t dns_recv_nameserver(struct dns_nameserver *ns, void *data, size_t size)
 
                if (!LIST_ISEMPTY(&dss->wait_sess)) {
                        ds = LIST_NEXT(&dss->wait_sess, struct dns_session *, waiter);
-                       fprintf(stderr, "ds: %p\n", ds);
                        ret = ds->rx_msg.len < size ? ds->rx_msg.len : size;
                        memcpy(data, ds->rx_msg.area, ret);