]> git.sur5r.net Git - openldap/commitdiff
Removed lint.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 19 May 1999 07:20:06 +0000 (07:20 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 19 May 1999 07:20:06 +0000 (07:20 +0000)
libraries/liblber/encode.c
libraries/libldap/open.c

index 9a8cd5572a18a4649b169600b5da4af2a403fef2..da27a60d9b70c86cc964f892cde8944801d4e2fb 100644 (file)
@@ -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 */
index bfcec1b309309d0743117c5eeaab417e9cb235a5..e9fbba2ed53ecdcd6f518b3e4b104c739fb1b1c0 100644 (file)
@@ -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';