summaryrefslogtreecommitdiff
path: root/source4/libads/ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libads/ldap.c')
-rw-r--r--source4/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libads/ldap.c b/source4/libads/ldap.c
index 9ada5acd77..9de73fcd0a 100644
--- a/source4/libads/ldap.c
+++ b/source4/libads/ldap.c
@@ -64,7 +64,7 @@ static BOOL ads_try_connect(ADS_STRUCT *ads, const char *server, uint_t port)
return False;
}
ads->ldap_port = port;
- ads->ldap_ip = *interpret_addr2(srv);
+ ads->ldap_ip = interpret_addr2(srv);
free(srv);
return True;