#include "ldap_pvt.h", to get ldap_pvt_tls_destroy().

Cast argument to isspace() to unsigned char.
This commit is contained in:
Hallvard Furuseth 2003-04-29 14:42:58 +00:00
parent 2931966ea5
commit 28e1a3c9da

View File

@ -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 );
/*