]> git.sur5r.net Git - openldap/commitdiff
Fix typo in last commit
authorKurt Zeilenga <kurt@openldap.org>
Tue, 16 May 2000 18:32:45 +0000 (18:32 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 16 May 2000 18:32:45 +0000 (18:32 +0000)
libraries/libldap/dnssrv.c

index d9463a073fe9a04bfa4e97adcd7414479c47fb5a..a7a6f932ad626b7ca1f5f4c7389d9b91206572a5 100644 (file)
@@ -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 );