diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-26 12:43:03 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-26 19:09:11 +0100 |
commit | 735323d9d3cddcd08247e541ccfdd8285c87c701 (patch) | |
tree | 9f16f35f1c0e58545f91c7b3944817c560810d49 | |
parent | 08f904fddc163ccf9524218cd900a89716ee4a63 (diff) |
shared: fix error propagation in dns_name_compare_func()
-rw-r--r-- | src/shared/dns-domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/dns-domain.c b/src/shared/dns-domain.c index f44e80c9db..159944858d 100644 --- a/src/shared/dns-domain.c +++ b/src/shared/dns-domain.c @@ -533,7 +533,7 @@ int dns_name_compare_func(const void *a, const void *b) { if (k > 0) r = k; if (w > 0) - r = w; + q = w; la[r] = lb[q] = 0; r = strcasecmp(la, lb); |