mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
include ac/ctype.h and initialize some variables to avoid compiler warnings
This commit is contained in:
parent
ed7f95edb0
commit
960041de8a
@ -13,6 +13,7 @@
|
|||||||
#include <ac/string.h>
|
#include <ac/string.h>
|
||||||
#include <ac/time.h>
|
#include <ac/time.h>
|
||||||
#include <ac/errno.h>
|
#include <ac/errno.h>
|
||||||
|
#include <ac/ctype.h>
|
||||||
|
|
||||||
#include "ldap-int.h"
|
#include "ldap-int.h"
|
||||||
#ifdef LDAP_R_COMPILE
|
#ifdef LDAP_R_COMPILE
|
||||||
@ -654,11 +655,11 @@ int ldap_pvt_sasl_secprops(
|
|||||||
char **props = ldap_str2charray( in, "," );
|
char **props = ldap_str2charray( in, "," );
|
||||||
unsigned sflags = 0;
|
unsigned sflags = 0;
|
||||||
int got_sflags = 0;
|
int got_sflags = 0;
|
||||||
sasl_ssf_t max_ssf;
|
sasl_ssf_t max_ssf = 0;
|
||||||
int got_max_ssf = 0;
|
int got_max_ssf = 0;
|
||||||
sasl_ssf_t min_ssf;
|
sasl_ssf_t min_ssf = 0;
|
||||||
int got_min_ssf = 0;
|
int got_min_ssf = 0;
|
||||||
unsigned maxbufsize;
|
unsigned maxbufsize = 0;
|
||||||
int got_maxbufsize = 0;
|
int got_maxbufsize = 0;
|
||||||
|
|
||||||
if( props == NULL || secprops == NULL ) {
|
if( props == NULL || secprops == NULL ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user