From: Hallvard Furuseth Date: Sun, 1 Aug 1999 15:35:53 +0000 (+0000) Subject: s/getopt() != -1/getopt() != EOF/ X-Git-Tag: TWEB_OL_BASE~350 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=79cb528e7e533599c9b588e2546092cc7aa383e2;p=openldap s/getopt() != -1/getopt() != EOF/ --- 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