]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fix typo in last commit
authorKurt Zeilenga <kurt@openldap.org>
Sat, 17 Jun 2000 18:54:42 +0000 (18:54 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 17 Jun 2000 18:54:42 +0000 (18:54 +0000)
clients/tools/ldappasswd.c

index e73a84b627ba013ee066cb433b1716a992c3d544..fe6f4fe9a472b390867670c164d83157445c91b6 100644 (file)
@@ -195,7 +195,7 @@ hash_crypt (const char *pw_in, Salt * salt)
                free (lsalt.salt);
        }
 
-       if( crypted_pw == NULL || crypted_pw[0] = '\0' )
+       if( crypted_pw == NULL || crypted_pw[0] == '\0' )
                return NULL;
 
        return STRDUP(crypted_pw);