]> git.sur5r.net Git - openldap/commitdiff
change -1UL to (unsigned long) -1L for NT4 OPENLDAP_REL_ENG_1_1_ALPHA2
authorKurt Zeilenga <kurt@openldap.org>
Fri, 6 Nov 1998 03:17:14 +0000 (03:17 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 6 Nov 1998 03:17:14 +0000 (03:17 +0000)
libraries/libldap/cldap.c

index ec99b4f33f4147add502c9744f5663eba1d2dc32..e34b53f78c641e7e14246952a48102a98c6dae8a 100644 (file)
@@ -111,7 +111,7 @@ cldap_open( char *host, int port )
                }
            }
 
-           if ( (address = inet_addr( host )) == -1UL ) {
+           if ( (address = inet_addr( host )) == (unsigned long) -1L ) {
                if ( (hp = gethostbyname( host )) == NULL ) {
                    errno = EHOSTUNREACH;
                    continue;