don't assume NULL is zero.

This commit is contained in:
Kurt Zeilenga 1998-11-15 06:55:20 +00:00
parent a8f7f0b3c7
commit 5310070b38

View File

@ -426,8 +426,10 @@ int s;
fprintf( fp, ".\r\n" );
rewind(fp);
if ( ld )
if ( ld == NULL) {
ldap_unbind( ld );
}
exit( 1 );
/* NOT REACHED */