]> git.sur5r.net Git - openldap/commitdiff
Fix == typo
authorKurt Zeilenga <kurt@openldap.org>
Thu, 11 May 2000 00:50:14 +0000 (00:50 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 11 May 2000 00:50:14 +0000 (00:50 +0000)
libraries/libldap/dnssrv.c

index a6f4e24b9c0e65fb2069f39af6cda46fd283628d..27de0a3d69464c94c40faaebe4082addb5e79c40 100644 (file)
@@ -38,8 +38,8 @@ int ldap_dn2domain(
        char **domainp)
 {
        int i;
-       chardomain = NULL;
-       char ** dn;
+       char *domain = NULL;
+       char **dn;
 
        if( dn_in == NULL || domainp == NULL ) {
                return -1;
@@ -79,7 +79,7 @@ int ldap_dn2domain(
                                dc = &rdn[0][sizeof(LDAP_DCOID)-1];
 
                        } else {
-                               dc == NULL;
+                               dc = NULL;
                        }
 
                        if( dc != NULL ) {