From 28e1a3c9da45a6016425a821014820c83f9c5b75 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 29 Apr 2003 14:42:58 +0000 Subject: [PATCH] #include "ldap_pvt.h", to get ldap_pvt_tls_destroy(). Cast argument to isspace() to unsigned char. --- clients/tools/ldapsearch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ); /* -- 2.39.5