s/getopt() != -1/getopt() != EOF/

This commit is contained in:
Hallvard Furuseth 1999-08-01 15:35:53 +00:00
parent e3d164d10e
commit 79cb528e7e

View file

@ -109,7 +109,7 @@ main( int argc, char **argv )
always_addvals = NULL;
basedn = NULL;
while (( c = getopt( argc, argv, "dorva:b:f:h:i:" )) != -1 ) {
while (( c = getopt( argc, argv, "dorva:b:f:h:i:" )) != EOF ) {
switch( c ) {
case 'd':
#ifdef LDAP_DEBUG