resolve: fix log message

This commit is contained in:
Yu Watanabe 2018-06-19 21:01:57 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent e55fc5b094
commit d149a404b1

View file

@ -331,7 +331,7 @@ char* dns_resource_key_to_string(const DnsResourceKey *key, char *buf, size_t bu
snprintf(buf, buf_size, "%s %s%s%.0u %s%s%.0u",
dns_resource_key_name(key),
strempty(c), c ? "" : "CLASS", c ? 0 : key->class,
strempty(t), t ? "" : "TYPE", t ? 0 : key->class);
strempty(t), t ? "" : "TYPE", t ? 0 : key->type);
return ans;
}