From: Kurt Zeilenga Date: Tue, 16 May 2000 18:32:45 +0000 (+0000) Subject: Fix typo in last commit X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2943 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6c49fe7d1b9fac469fe07ac757b64faab996328d;p=openldap Fix typo in last commit --- 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 );