summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/extern.h
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2008-06-16 12:03:51 +0000
committermartynas <martynas@openbsd.org>2008-06-16 12:03:51 +0000
commita19ceb6e2392e4bb51548a8df342bc1dd3e04fb6 (patch)
tree7bb3a8b5b46d45aab0c5e5c4ba22b02db499c719 /usr.bin/ftp/extern.h
parent- update list of functions. add functions that have been added in (diff)
downloadwireguard-openbsd-a19ceb6e2392e4bb51548a8df342bc1dd3e04fb6.tar.xz
wireguard-openbsd-a19ceb6e2392e4bb51548a8df342bc1dd3e04fb6.zip
fix transfer interrupting when confirmrest mode is used. change
confirm() to have a 'force' argument, so that ointer/oconf dance is not needed, and to prevent further bugs like this; ok millert@
Diffstat (limited to 'usr.bin/ftp/extern.h')
-rw-r--r--usr.bin/ftp/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h
index 8fefe122e5b..fec76b821d1 100644
--- a/usr.bin/ftp/extern.h
+++ b/usr.bin/ftp/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.31 2007/06/16 08:58:33 espie Exp $ */
+/* $OpenBSD: extern.h,v 1.32 2008/06/16 12:03:51 martynas Exp $ */
/* $NetBSD: extern.h,v 1.17 1997/08/18 10:20:19 lukem Exp $ */
/*
@@ -82,7 +82,7 @@ int command(const char *, ...);
unsigned char complete(EditLine *, int);
void controlediting(void);
#endif /* !SMALL */
-int confirm(const char *, const char *);
+int confirm(const char *, const char *, int);
FILE *dataconn(const char *);
void deletecmd(int, char **);
void disconnect(int, char **);