From: Hallvard Furuseth Date: Tue, 29 Apr 2003 14:42:58 +0000 (+0000) Subject: #include "ldap_pvt.h", to get ldap_pvt_tls_destroy(). X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~230 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=28e1a3c9da45a6016425a821014820c83f9c5b75;p=openldap #include "ldap_pvt.h", to get ldap_pvt_tls_destroy(). Cast argument to isspace() to unsigned char. --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 6577652f15..c27528cb83 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -33,6 +33,7 @@ #include "lutil_ldap.h" #include "ldap_defaults.h" #include "ldap_log.h" +#include "ldap_pvt.h" #include "common.h" @@ -356,7 +357,8 @@ handle_private_option( int i ) cvalue = cookiep; slimitp = strchr( cvalue, '/' ); *slimitp++ = '\0'; - while ( isspace( *cookiep ) ) cookiep++; + while ( isspace( (unsigned char) *cookiep ) ) + cookiep++; ber_str2bv( cookiep, 0, 0, &lcup_cookie ); lcup_slimit = atoi( slimitp ); /*