(I must have been dreamed that the 'make test' completed
successfully)
(void) ldap_initialize( &ld, ldapuri );
}
- if( ld != NULL ) {
+ if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
return EXIT_FAILURE;
}
(void) ldap_initialize( &ld, ldapuri );
}
- if( ld != NULL ) {
+ if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
return EXIT_FAILURE;
}
(void) ldap_initialize( &ld, ldapuri );
}
- if( ld != NULL ) {
+ if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
return EXIT_FAILURE;
}
(void) ldap_initialize( &ld, ldapuri );
}
- if( ld != NULL ) {
+ if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
return EXIT_FAILURE;
}
(void) ldap_initialize( &ld, ldapuri );
}
- if( ld != NULL ) {
+ if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
return EXIT_FAILURE;
}