summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ipa/ipa_dyndns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_dyndns.c b/src/providers/ipa/ipa_dyndns.c
index 4e75a197..a74a3cc1 100644
--- a/src/providers/ipa/ipa_dyndns.c
+++ b/src/providers/ipa/ipa_dyndns.c
@@ -195,7 +195,7 @@ ipa_dyndns_update_send(struct ipa_options *ctx)
goto done;
}
servername = ctx->service->sdap->uri + 7;
- if (!servername) {
+ if (servername[0] == '\0') {
ret = EIO;
goto done;
}