From 262d021ecf7b52bb37a6cc7b6be5b3f930da9d9e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 11 Feb 2003 09:23:28 +0000 Subject: [PATCH] minor cleanup --- libraries/libldap/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5