r3278: - rewrote the client side rpc connection code to use lib/socket/
[mat/samba.git] / source4 / libads / ldap.c
index 9ada5acd77d630e72e7ff0a25e43f047505a5251..9de73fcd0a0452b57725693c96eb8f26ebeee32a 100644 (file)
@@ -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;