summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index f319b5500e1..4e3e30fd77b 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.60 1999/12/01 06:33:24 millert Exp $ */
+/* $OpenBSD: ftpd.c,v 1.61 1999/12/02 17:34:08 millert Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -1022,7 +1022,7 @@ store(name, mode, unique)
struct stat st;
int fd;
- if (restart_point && type != TYPE_A)
+ if (restart_point && *mode != 'a')
mode = "r+";
if (unique && stat(name, &st) == 0) {