summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}