diff options
author | yar <yar@FreeBSD.org> | 2002-08-29 09:53:51 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2002-08-29 09:53:51 +0000 |
commit | f8c5ceb68d89549fc7c635ae8be730ed4dc1cca8 (patch) | |
tree | ab9a6a3c3b162a5af86cf57cba95e6304121fe9d /libexec/ftpd | |
parent | c4deb81f31fa64ebcfd4c46ef6f6b583c12d1521 (diff) | |
download | FreeBSD-src-f8c5ceb68d89549fc7c635ae8be730ed4dc1cca8.zip FreeBSD-src-f8c5ceb68d89549fc7c635ae8be730ed4dc1cca8.tar.gz |
The mode can be "r+" as well on PUT, but only "a" on APPE.
Diffstat (limited to 'libexec/ftpd')
-rw-r--r-- | libexec/ftpd/ftpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 12bbfd9..9a22f88 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1697,7 +1697,7 @@ store(char *name, char *mode, int unique) data = -1; pdata = -1; done: - LOGBYTES(*mode == 'w' ? "put" : "append", name, byte_count); + LOGBYTES(*mode == 'a' ? "append" : "put", name, byte_count); (*closefunc)(fout); return; err: |