aboutsummaryrefslogtreecommitdiffstats
path: root/receiver.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-02-24 01:56:21 +0000
committerWayne Davison <wayned@samba.org>2006-02-24 01:56:21 +0000
commit904e5af12874694c47b7ccf7b8b2e6aa883cab0f (patch)
tree9fd5ff55f335bedcc54433ba069d1d324084a6b0 /receiver.c
parenta41d110647dd006e657ec9a726c69d30e5c4ddcd (diff)
downloadandroid_external_rsync-904e5af12874694c47b7ccf7b8b2e6aa883cab0f.tar.gz
android_external_rsync-904e5af12874694c47b7ccf7b8b2e6aa883cab0f.tar.bz2
android_external_rsync-904e5af12874694c47b7ccf7b8b2e6aa883cab0f.zip
The create_directory_path() function no longer takes a base_umask
arg.
Diffstat (limited to 'receiver.c')
-rw-r--r--receiver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/receiver.c b/receiver.c
index 14353be6..8518fbfd 100644
--- a/receiver.c
+++ b/receiver.c
@@ -44,7 +44,6 @@ extern int cleanup_got_literal;
extern int remove_sent_files;
extern int module_id;
extern int ignore_errors;
-extern int orig_umask;
extern int append_mode;
extern int sparse_files;
extern int keep_partial;
@@ -580,7 +579,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name)
* because their information should have been previously
* transferred, but that may not be the case with -R */
if (fd2 == -1 && relative_paths && errno == ENOENT
- && create_directory_path(fnametmp, orig_umask) == 0) {
+ && create_directory_path(fnametmp) == 0) {
/* Get back to name with XXXXXX in it. */
get_tmpname(fnametmp, fname);
fd2 = do_mkstemp(fnametmp, file->mode & INITACCESSPERMS);