From: Lennart Poettering Date: Thu, 19 Jun 2025 15:50:02 +0000 (+0200) Subject: resolved: use dns_question_isempty() where appropriate X-Git-Tag: v258-rc1~285^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95625f3cb60c6ab0396042982523a92880f6c316;p=thirdparty%2Fsystemd.git resolved: use dns_question_isempty() where appropriate --- diff --git a/src/resolve/resolved-dns-query.c b/src/resolve/resolved-dns-query.c index 42e779c9d8c..6db973d8384 100644 --- a/src/resolve/resolved-dns-query.c +++ b/src/resolve/resolved-dns-query.c @@ -561,7 +561,7 @@ static int manager_validate_and_mangle_question(Manager *manager, DnsQuestion ** assert(question); assert(ret_allocated); - if (!*question) { + if (dns_question_isempty(*question)) { *ret_allocated = NULL; return 0; }