From: Pierangelo Masarati Date: Tue, 19 Jun 2007 22:59:53 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~368 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=848ea293a3319cf46a87f211b67a5e5086a203c5;p=openldap cleanup --- diff --git a/include/ldap_pvt.h b/include/ldap_pvt.h index 934999a48c..cc727e6708 100644 --- a/include/ldap_pvt.h +++ b/include/ldap_pvt.h @@ -47,7 +47,10 @@ struct ldap_url_desc; /* avoid pulling in */ #define LDAP_PVT_URL_PARSE_DEF_PORT (0x02U) #define LDAP_PVT_URL_PARSE_NOEMPTY_DN (0x04U) #define LDAP_PVT_URL_PARSE_NODEF_SCOPE (0x08U) -#define LDAP_PVT_URL_PARSE_HISTORIC (LDAP_PVT_URL_PARSE_NODEF_SCOPE | LDAP_PVT_URL_PARSE_NOEMPTY_HOST | LDAP_PVT_URL_PARSE_DEF_PORT) +#define LDAP_PVT_URL_PARSE_HISTORIC (LDAP_PVT_URL_PARSE_NODEF_SCOPE | \ + LDAP_PVT_URL_PARSE_NOEMPTY_HOST | \ + LDAP_PVT_URL_PARSE_DEF_PORT) + LDAP_F( int ) ldap_url_parse_ext LDAP_P(( LDAP_CONST char *url, diff --git a/libraries/libldap/url.c b/libraries/libldap/url.c index 22c8a036a5..6a6e076b56 100644 --- a/libraries/libldap/url.c +++ b/libraries/libldap/url.c @@ -552,7 +552,7 @@ desc2str_len( LDAPURLDesc *u ) } if ( u->lud_filter ) { - len += hex_escape_len( u->lud_filter, URLESC_NONE ); + len += hex_escape_len( u->lud_filter, URLESC_NONE ); if ( !sep ) { sep = 4; } @@ -566,7 +566,7 @@ desc2str_len( LDAPURLDesc *u ) } if ( u->lud_attrs ) { - len += hex_escape_len_list( u->lud_attrs, URLESC_NONE ); + len += hex_escape_len_list( u->lud_attrs, URLESC_NONE ); if ( !sep ) { sep = 2; }