diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-03 11:18:31 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-03 13:26:41 +0200 |
commit | 274fe6a4f8bcb23e31929430110c0b52e9ce233a (patch) | |
tree | c3fb9185e2e5da9d79cd16f1890b6134e61ab9ff /src/resolv | |
parent | bebeea7ed99394c4061810ed15121bd0f5ac4964 (diff) | |
download | sssd-274fe6a4f8bcb23e31929430110c0b52e9ce233a.tar.gz sssd-274fe6a4f8bcb23e31929430110c0b52e9ce233a.tar.bz2 sssd-274fe6a4f8bcb23e31929430110c0b52e9ce233a.zip |
Check for correct variable name
https://fedorahosted.org/sssd/ticket/1864
Diffstat (limited to 'src/resolv')
-rw-r--r-- | src/resolv/async_resolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolv/async_resolv.c b/src/resolv/async_resolv.c index 04651511..4ecc4836 100644 --- a/src/resolv/async_resolv.c +++ b/src/resolv/async_resolv.c @@ -1664,7 +1664,7 @@ resolv_getsrv_done(void *arg, int status, int timeouts, unsigned char *abuf, int } ret = ares_parse_srv_reply(abuf, alen, &reply_list); - if (status != ARES_SUCCESS) { + if (ret != ARES_SUCCESS) { DEBUG(2, ("SRV record parsing failed: %d: %s\n", ret, ares_strerror(ret))); ret = return_code(ret); goto fail; |