mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Remove lint
This commit is contained in:
parent
1aa829922f
commit
27cb98d28d
@ -830,7 +830,7 @@ slap_sasl_canonicalize(
|
|||||||
* conflict with slap_sasl_authorize's use of this temp var.
|
* conflict with slap_sasl_authorize's use of this temp var.
|
||||||
*/
|
*/
|
||||||
if ( flags == SASL_CU_AUTHID ) {
|
if ( flags == SASL_CU_AUTHID ) {
|
||||||
conn->c_sasl_dn.bv_val = in;
|
conn->c_sasl_dn.bv_val = (char *) in;
|
||||||
} else if ( flags == SASL_CU_AUTHZID && conn->c_sasl_dn.bv_val ) {
|
} else if ( flags == SASL_CU_AUTHZID && conn->c_sasl_dn.bv_val ) {
|
||||||
rc = strcmp( in, conn->c_sasl_dn.bv_val );
|
rc = strcmp( in, conn->c_sasl_dn.bv_val );
|
||||||
conn->c_sasl_dn.bv_val = NULL;
|
conn->c_sasl_dn.bv_val = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user