=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/main.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- src/usr.bin/ftp/main.c 1997/07/25 21:56:22 1.34 +++ src/usr.bin/ftp/main.c 1997/08/06 17:35:42 1.35 @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.34 1997/07/25 21:56:22 millert Exp $ */ +/* $OpenBSD: main.c,v 1.35 1997/08/06 17:35:42 mickey Exp $ */ /* $NetBSD: main.c,v 1.23 1997/07/20 09:45:58 lukem Exp $ */ /* @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 10/9/94"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.34 1997/07/25 21:56:22 millert Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.35 1997/08/06 17:35:42 mickey Exp $"; #endif #endif /* not lint */ @@ -252,6 +252,7 @@ sleep(retry_connect); } } while (!connected); + retry_connect = 0; /* connected, stop hiding msgs */ } } #ifndef SMALL @@ -665,7 +666,7 @@ usage() { (void)fprintf(stderr, - "usage: %s [-adeginprtvV] [host [port]]\n" + "usage: %s [-adeginptvV] [-r ] [host [port]]\n" " %s host:path[/]\n" " %s ftp://host[:port]/path[/]\n" " %s http://host[:port]/file\n",