From 6c49fe7d1b9fac469fe07ac757b64faab996328d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 16 May 2000 18:32:45 +0000 Subject: [PATCH] Fix typo in last commit --- libraries/libldap/dnssrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/dnssrv.c b/libraries/libldap/dnssrv.c index d9463a073f..a7a6f932ad 100644 --- a/libraries/libldap/dnssrv.c +++ b/libraries/libldap/dnssrv.c @@ -96,7 +96,7 @@ int ldap_dn2domain( ndomain = LDAP_REALLOC( domain, ( domain == NULL ? 0 : strlen(domain) ) - + strlen(dc) + "." ); + + strlen(dc) + sizeof(".") ); if( ndomain == NULL ) { LDAP_FREE( rdn ); -- 2.39.5