mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-23 15:35:40 +00:00
CLEANUP: dns: Remove a forgotten debug message
A debug message was forgotten in the dns part. This patch should fix the issue #1304. It must be backported to 2.4.
This commit is contained in:
parent
14aec6e8ae
commit
c3fe968f22
@ -170,7 +170,6 @@ ssize_t dns_recv_nameserver(struct dns_nameserver *ns, void *data, size_t size)
|
|||||||
|
|
||||||
if (!LIST_ISEMPTY(&dss->wait_sess)) {
|
if (!LIST_ISEMPTY(&dss->wait_sess)) {
|
||||||
ds = LIST_NEXT(&dss->wait_sess, struct dns_session *, waiter);
|
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;
|
ret = ds->rx_msg.len < size ? ds->rx_msg.len : size;
|
||||||
memcpy(data, ds->rx_msg.area, ret);
|
memcpy(data, ds->rx_msg.area, ret);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user