=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/util.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/ftp/util.c 1997/07/25 21:56:23 1.11 --- src/usr.bin/ftp/util.c 1997/08/25 21:41:55 1.12 *************** *** 1,4 **** ! /* $OpenBSD: util.c,v 1.11 1997/07/25 21:56:23 millert Exp $ */ /* $NetBSD: util.c,v 1.11 1997/07/21 14:03:49 lukem Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: util.c,v 1.12 1997/08/25 21:41:55 jkatz Exp $ */ /* $NetBSD: util.c,v 1.11 1997/07/21 14:03:49 lukem Exp $ */ /* *************** *** 35,41 **** */ #ifndef lint ! static char rcsid[] = "$OpenBSD: util.c,v 1.11 1997/07/25 21:56:23 millert Exp $"; #endif /* not lint */ /* --- 35,41 ---- */ #ifndef lint ! static char rcsid[] = "$OpenBSD: util.c,v 1.12 1997/08/25 21:41:55 jkatz Exp $"; #endif /* not lint */ /* *************** *** 437,442 **** --- 437,451 ---- case 'a': confirmrest = 1; fprintf(ttyout, "Prompting off for duration of %s.\n", cmd); + break; + case 'y': + return(1); + break; + default: + fprintf(ttyout, "n, y, p, a, are the only acceptable commands!\n"); + fprintf(ttyout, "%s %s? ", cmd, file); + fgets(line, sizeof(line), stdin); + confirm(cmd, file); break; } return (1);