along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include "log.h"
+#include "macro.h"
#include "resolved-dns-domain.h"
static void test_dns_label_unescape_one(const char *what, const char *expect, size_t buffer_sz, int ret) {
int r;
r = dns_label_escape(what, l, &t);
- assert(r == ret);
+ assert_se(r == ret);
if (r < 0)
return;
static void test_dns_name_reverse_one(const char *address, const char *name) {
_cleanup_free_ char *p = NULL;
- union in_addr_union a, b;
+ union in_addr_union a, b = {};
int familya, familyb;
assert_se(in_addr_from_string_auto(address, &familya, &a) >= 0);