pull up r19009 from trunk r19009@cathode-dark-space: raeburn | 2006-12-21 20:26:59 -0500 ticket: 4453 target_version: 1.6 tags: pullup Some related changes were already in, and I found a couple more to make: * ldap_realm.c (ldap_filter_correct): Change string argument to char *. Delete length argument, which was always strlen of the string argument, and compute it locally, using size_t instead of (unsigned) int for length-related values. Update all calls. * ldap_realm.h (ldap_filter_correct): Updated declaration. * ldap_misc.c (remove_overlapping_subtrees): Add forward declaration. Make static. (is_principal_in_realm): Change local variable defrealmlen to size_t. (store_tl_data): Change local variable curr to point to unsigned char, since that's what the tl_data_contents array is declared as, and what the STORE16_INT macro is happier with. (krb5_ldap_get_reference_count): Make local variable i unsigned. Commit By: tlyu Revision: 19010 Changed Files: _U branches/krb5-1-6/ U branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c U branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c U branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.h