From: Pierangelo Masarati Date: Tue, 11 Feb 2003 09:23:28 +0000 (+0000) Subject: minor cleanup X-Git-Tag: NO_SLAP_OP_BLOCKS~373 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=262d021ecf7b52bb37a6cc7b6be5b3f930da9d9e;p=openldap minor cleanup --- diff --git a/libraries/libldap/url.c b/libraries/libldap/url.c index e5909bac41..00413dc088 100644 --- a/libraries/libldap/url.c +++ b/libraries/libldap/url.c @@ -355,7 +355,7 @@ char * ldap_url_desc2str( LDAPURLDesc *u ) }; if( u->lud_port ) { - len+=6; + len += sizeof(":65535") - 1; } if( u->lud_host ) {