From 8ef79930472d1036e0ab95b2e9fa397d27c0c52f Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 19 May 1999 07:20:06 +0000 Subject: [PATCH] Removed lint. --- libraries/liblber/encode.c | 2 +- libraries/libldap/open.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblber/encode.c b/libraries/liblber/encode.c index 9a8cd5572a..da27a60d9b 100644 --- a/libraries/liblber/encode.c +++ b/libraries/liblber/encode.c @@ -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 */ diff --git a/libraries/libldap/open.c b/libraries/libldap/open.c index bfcec1b309..e9fbba2ed5 100644 --- a/libraries/libldap/open.c +++ b/libraries/libldap/open.c @@ -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'; -- 2.39.2