summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-06-07 07:19:27 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-10 11:31:20 +0200
commit265ce7e9fcd9aeaaac1a36c4446072f57f3bd0c2 (patch)
tree4e1512ef0917dc22963596d330a710f70a9f4e69 /src/providers
parentfbd63f8f920a2591310d601b01c7b79aa4023a95 (diff)
downloadsssd-265ce7e9fcd9aeaaac1a36c4446072f57f3bd0c2.tar.gz
sssd-265ce7e9fcd9aeaaac1a36c4446072f57f3bd0c2.tar.bz2
sssd-265ce7e9fcd9aeaaac1a36c4446072f57f3bd0c2.zip
dyndns: Fix NULL check
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/dp_dyndns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/dp_dyndns.c b/src/providers/dp_dyndns.c
index 1b710b55..3467683a 100644
--- a/src/providers/dp_dyndns.c
+++ b/src/providers/dp_dyndns.c
@@ -677,7 +677,7 @@ nsupdate_get_addrs_done(struct tevent_req *subreq)
}
addr->addr = resolv_get_sockaddr_address_index(addr, rhostent, 0, i);
- if (addr == NULL) {
+ if (addr->addr == NULL) {
ret = ENOMEM;
goto done;
}