From 590baf91f3fc9f0edd7986c66da00be10e48a25d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 3 Aug 2014 23:41:45 -0400 Subject: [PATCH] resolve-host: fix missed search&replace --- src/resolve-host/resolve-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolve-host/resolve-host.c b/src/resolve-host/resolve-host.c index 4b46cdfa1..43c8a229e 100644 --- a/src/resolve-host/resolve-host.c +++ b/src/resolve-host/resolve-host.c @@ -486,7 +486,7 @@ static int parse_argv(int argc, char *argv[]) { arg_type = dns_type_from_string(optarg); if (arg_type < 0) { log_error("Failed to parse RR record type %s", optarg); - return r; + return arg_type; } assert(arg_type > 0 && (uint16_t) arg_type == arg_type); -- 2.30.2