]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/sasl.c
Fix q[-1] ref in prev commit
[openldap] / servers / slapd / sasl.c
index 756522bde5e74b8028117050782205f7b3aa4bab..0cd5afca9a5e419dc76c6e94903eeacfcfc6b18f 100644 (file)
@@ -1138,10 +1138,6 @@ int slap_sasl_open( Connection *conn, int reopen )
 
        conn->c_sasl_layers = 0;
 
-       if( global_host == NULL ) {
-               global_host = ldap_pvt_get_fqdn( NULL );
-       }
-
        /* create new SASL context */
 #if SASL_VERSION_MAJOR >= 2
        if ( conn->c_sock_name.bv_len != 0 &&