From: Kurt Zeilenga Date: Sun, 15 Nov 1998 06:55:20 +0000 (+0000) Subject: don't assume NULL is zero. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1119 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5310070b38579f50b9f3236a2eb79d41085234c3;p=openldap don't assume NULL is zero. --- diff --git a/clients/gopher/go500.c b/clients/gopher/go500.c index e93b5504e8..367ecaebfe 100644 --- a/clients/gopher/go500.c +++ b/clients/gopher/go500.c @@ -426,8 +426,10 @@ int s; fprintf( fp, ".\r\n" ); rewind(fp); - if ( ld ) + + if ( ld == NULL) { ldap_unbind( ld ); + } exit( 1 ); /* NOT REACHED */