Skip to content
Snippets Groups Projects
Commit 8ef79930 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Removed lint.

parent d8cb38c2
No related branches found
No related tags found
No related merge requests found
......@@ -502,7 +502,7 @@ ber_put_seqorset( BerElement *ber )
if ( ber->ber_options & LBER_USE_DER ) {
ltag = (lenlen == 1)
? (unsigned char) len
: 0x80UL + (lenlen - 1);
: (unsigned char) (0x80UL + (lenlen - 1));
}
/* 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 );
if ( krbinstancep != NULL ) {
char *c;
#ifdef HAVE_KERBEROS
char *c;
if (( *krbinstancep = ldap_host_connected_to( sb )) != NULL &&
( c = strchr( *krbinstancep, '.' )) != NULL ) {
*c = '\0';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment