mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
Removed lint.
This commit is contained in:
parent
d8cb38c2ef
commit
8ef7993047
2 changed files with 2 additions and 2 deletions
|
|
@ -502,7 +502,7 @@ ber_put_seqorset( BerElement *ber )
|
||||||
if ( ber->ber_options & LBER_USE_DER ) {
|
if ( ber->ber_options & LBER_USE_DER ) {
|
||||||
ltag = (lenlen == 1)
|
ltag = (lenlen == 1)
|
||||||
? (unsigned char) len
|
? (unsigned char) len
|
||||||
: 0x80UL + (lenlen - 1);
|
: (unsigned char) (0x80UL + (lenlen - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* one byte of length length */
|
/* one byte of length length */
|
||||||
|
|
|
||||||
|
|
@ -263,8 +263,8 @@ open_ldap_connection( LDAP *ld, Sockbuf *sb, const char *host, int defport,
|
||||||
ber_pvt_sb_set_io( sb, &ber_pvt_sb_io_tcp, NULL );
|
ber_pvt_sb_set_io( sb, &ber_pvt_sb_io_tcp, NULL );
|
||||||
|
|
||||||
if ( krbinstancep != NULL ) {
|
if ( krbinstancep != NULL ) {
|
||||||
char *c;
|
|
||||||
#ifdef HAVE_KERBEROS
|
#ifdef HAVE_KERBEROS
|
||||||
|
char *c;
|
||||||
if (( *krbinstancep = ldap_host_connected_to( sb )) != NULL &&
|
if (( *krbinstancep = ldap_host_connected_to( sb )) != NULL &&
|
||||||
( c = strchr( *krbinstancep, '.' )) != NULL ) {
|
( c = strchr( *krbinstancep, '.' )) != NULL ) {
|
||||||
*c = '\0';
|
*c = '\0';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue