summaryrefslogtreecommitdiff
path: root/networking/ftpgetput.c
diff options
context:
space:
mode:
authorRob Landley2006-08-04 20:19:01 +0000
committerRob Landley2006-08-04 20:19:01 +0000
commit74bb70cf549ee2a59e716e99f8a6adb0cf4acc9c (patch)
treeb266146d47fd447b5a5e4695ab0e875368096255 /networking/ftpgetput.c
parent3629d95a24ce0b66ef455aaaf834d989d65234a5 (diff)
downloadbusybox-74bb70cf549ee2a59e716e99f8a6adb0cf4acc9c.zip
busybox-74bb70cf549ee2a59e716e99f8a6adb0cf4acc9c.tar.gz
Ok, that's not a typo, that's just me not thinking.
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r--networking/ftpgetput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 978601d..453cce5 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,
if (do_continue) {
fd_local = xopen(local_path, O_APPEND | O_WRONLY);
} else {
- fd_local = xopen3(local_path, O_CREAT | O_TRUNC | O_WRONLY, 777);
+ fd_local = xopen3(local_path, O_CREAT | O_TRUNC | O_WRONLY, 0777);
}
}