]> git.sur5r.net Git - openldap/commitdiff
Even more LDAP_PORT depends.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 30 Nov 1998 04:06:59 +0000 (04:06 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 30 Nov 1998 04:06:59 +0000 (04:06 +0000)
servers/slurpd/config.c
servers/slurpd/re.c

index 8fa21f67524ae4c06b3c485b2d08052c0f5157a3..43a4bcd90b8796ac465a22086461a29d18a5bd0b 100644 (file)
@@ -339,7 +339,7 @@ parse_replica_line(
                ri->ri_port = atoi( hp );
            }
            if ( ri->ri_port <= 0 ) {
-               ri->ri_port = LDAP_PORT;
+               ri->ri_port = 0;
            }
            ri->ri_hostname = strdup( val );
            gots |= GOT_HOST;
index c7358fddc1a0814298ca7fac02f85f88a7dbe244..5792850d7eda50bde168ead293cde90352deb902 100644 (file)
@@ -293,7 +293,7 @@ get_repl_hosts(
        if ( str_parse_line( line, &type, &value, &len ) < 0 ) {
            return( NULL );
        }
-       port = LDAP_PORT;
+       port = 0;
        if (( p = strchr( value, ':' )) != NULL ) {
            *p = '\0';
            p++;