From 79cb528e7e533599c9b588e2546092cc7aa383e2 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 1 Aug 1999 15:35:53 +0000 Subject: [PATCH] s/getopt() != -1/getopt() != EOF/ --- servers/slapd/tools/edb2ldif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/tools/edb2ldif.c b/servers/slapd/tools/edb2ldif.c index 2f9989bcd3..85454dca1b 100644 --- a/servers/slapd/tools/edb2ldif.c +++ b/servers/slapd/tools/edb2ldif.c @@ -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 -- 2.39.5