diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-08-03 23:41:45 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-08-03 23:53:49 -0400 |
commit | 590baf91f3fc9f0edd7986c66da00be10e48a25d (patch) | |
tree | 0565d82e30562776f9b867290195d1d4c2527612 /src/resolve-host | |
parent | fa1c4b518ec7d8ec2d647213ee651cde4d6c9d7e (diff) |
resolve-host: fix missed search&replace
Diffstat (limited to 'src/resolve-host')
-rw-r--r-- | src/resolve-host/resolve-host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve-host/resolve-host.c b/src/resolve-host/resolve-host.c index 4b46cdfa16..43c8a229eb 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); |