From: Kurt Zeilenga Date: Sat, 9 Jul 2005 18:57:10 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_AC_BP~429 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=570126dc25ef430f5e0abe4081f50fe517186557;p=openldap cleanup --- diff --git a/libraries/liblutil/fetch.c b/libraries/liblutil/fetch.c index 904966619d..a182b3591a 100644 --- a/libraries/liblutil/fetch.c +++ b/libraries/liblutil/fetch.c @@ -40,8 +40,7 @@ FILE * ldif_open_url( - LDAP_CONST char *urlstr -) + LDAP_CONST char *urlstr ) { FILE *url; char *p = NULL; @@ -76,8 +75,7 @@ int ldif_fetch_url( LDAP_CONST char *urlstr, char **valuep, - ber_len_t *vlenp -) + ber_len_t *vlenp ) { FILE *url; char buffer[1024]; diff --git a/libraries/liblutil/passwd.c b/libraries/liblutil/passwd.c index 7512dff6d0..a152279a5f 100644 --- a/libraries/liblutil/passwd.c +++ b/libraries/liblutil/passwd.c @@ -206,7 +206,7 @@ static const struct pw_scheme *get_scheme( return NULL; bv.bv_len = bv.bv_val - scheme + 1; - bv.bv_val = scheme; + bv.bv_val = (char *) scheme; for( pws=pw_schemes; pws; pws=pws->next ) { if( bv.bv_len != pws->s.name.bv_len )