From: Kurt Zeilenga Date: Mon, 30 Nov 1998 04:06:59 +0000 (+0000) Subject: Even more LDAP_PORT depends. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~992 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c0366d3c3b1bedb626431dd8d39322d1e1b00dc2;p=openldap Even more LDAP_PORT depends. --- diff --git a/servers/slurpd/config.c b/servers/slurpd/config.c index 8fa21f6752..43a4bcd90b 100644 --- a/servers/slurpd/config.c +++ b/servers/slurpd/config.c @@ -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; diff --git a/servers/slurpd/re.c b/servers/slurpd/re.c index c7358fddc1..5792850d7e 100644 --- a/servers/slurpd/re.c +++ b/servers/slurpd/re.c @@ -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++;