Skip to content

Commit

Permalink
resolve: fix wrong error cause assignment to log_debug_errno()
Browse files Browse the repository at this point in the history
Fixes #30392.

(cherry picked from commit fca212b)
(cherry picked from commit b2a3703)
(cherry picked from commit 27dd691)
  • Loading branch information
yuwata authored and bluca committed Dec 22, 2023
1 parent ae07e55 commit f42e8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolve/resolved-dns-stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ static void dns_stub_query_complete(DnsQuery *query) {

cname_result = dns_query_process_cname_one(q);
if (cname_result == -ELOOP) { /* CNAME loop, let's send what we already have */
log_debug_errno(r, "Detected CNAME loop, returning what we already have.");
log_debug("Detected CNAME loop, returning what we already have.");
(void) dns_stub_send_reply(q, q->answer_rcode);
break;
}
Expand Down

0 comments on commit f42e8c6

Please sign in to comment.