summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-01-04 16:19:00 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-01-04 16:19:00 +0000
commitd976407b65a903ac16903e13fe307b7c1684aaac (patch)
tree18cb76b8ac4ea360ae450d7cc488ad1c6b6970e4 /usr.bin/ftp
parent238ee5e611ef19267d1b663f83d2f90ac251fdbc (diff)
Don't longjmp(..., 0)
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/cmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ftp/cmds.c b/usr.bin/ftp/cmds.c
index f854deafba6..28e589269fe 100644
--- a/usr.bin/ftp/cmds.c
+++ b/usr.bin/ftp/cmds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmds.c,v 1.39 2001/10/24 20:42:24 millert Exp $ */
+/* $OpenBSD: cmds.c,v 1.40 2002/01/04 16:18:59 art Exp $ */
/* $NetBSD: cmds.c,v 1.27 1997/08/18 10:20:15 lukem Exp $ */
/*
@@ -67,7 +67,7 @@
#if 0
static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94";
#else
-static char rcsid[] = "$OpenBSD: cmds.c,v 1.39 2001/10/24 20:42:24 millert Exp $";
+static char rcsid[] = "$OpenBSD: cmds.c,v 1.40 2002/01/04 16:18:59 art Exp $";
#endif
#endif /* not lint */
@@ -584,13 +584,13 @@ mabort(signo)
if (confirm("Continue with", mname)) {
interactive = ointer;
confirmrest = oconf;
- longjmp(jabort, 0);
+ longjmp(jabort, 1);
}
interactive = ointer;
confirmrest = oconf;
}
mflag = 0;
- longjmp(jabort, 0);
+ longjmp(jabort, 1);
}
/*