X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/83fff1aa6036f38a3d2daf6d809bd9c10d28fae6..1347d5126a4d89718544d976f64943dfa93dd8c4:/sender.c diff --git a/sender.c b/sender.c index 623d995d..3a443468 100644 --- a/sender.c +++ b/sender.c @@ -160,7 +160,7 @@ void send_files(struct file_list *flist,int f_out,int f_in) return; } - fd = open(fname,O_RDONLY); + fd = do_open(fname, O_RDONLY, 0); if (fd == -1) { io_error = 1; rprintf(FERROR,"send_files failed to open %s: %s\n",