diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-08-04 20:19:01 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-08-04 20:19:01 +0000 |
commit | 23e1b0eb1031bf74bdefeadf233e49b20eafccf8 (patch) | |
tree | b266146d47fd447b5a5e4695ab0e875368096255 /networking/ftpgetput.c | |
parent | 4b4d8f7191de40483f16a71161590eb4a074e21a (diff) | |
download | busybox-w32-23e1b0eb1031bf74bdefeadf233e49b20eafccf8.tar.gz busybox-w32-23e1b0eb1031bf74bdefeadf233e49b20eafccf8.tar.bz2 busybox-w32-23e1b0eb1031bf74bdefeadf233e49b20eafccf8.zip |
Ok, that's not a typo, that's just me not thinking.
git-svn-id: svn://busybox.net/trunk/busybox@15778 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | networking/ftpgetput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 978601d26..453cce571 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c | |||
@@ -166,7 +166,7 @@ static int ftp_receive(ftp_host_info_t *server, FILE *control_stream, | |||
166 | if (do_continue) { | 166 | if (do_continue) { |
167 | fd_local = xopen(local_path, O_APPEND | O_WRONLY); | 167 | fd_local = xopen(local_path, O_APPEND | O_WRONLY); |
168 | } else { | 168 | } else { |
169 | fd_local = xopen3(local_path, O_CREAT | O_TRUNC | O_WRONLY, 777); | 169 | fd_local = xopen3(local_path, O_CREAT | O_TRUNC | O_WRONLY, 0777); |
170 | } | 170 | } |
171 | } | 171 | } |
172 | 172 | ||