Commit c1659c79 authored by Martin Pool's avatar Martin Pool

Clean up from rsync+ patch; fix compiler warning.

parent 4a7cb3e8
......@@ -83,9 +83,9 @@ static struct sum_struct *receive_sums(int f)
void send_files(struct file_list *flist,int f_out,int f_in)
{
int fd;
int fd = -1;
struct sum_struct *s;
struct map_struct *buf;
struct map_struct *buf = NULL;
STRUCT_STAT st;
char fname[MAXPATHLEN];
int i;
......@@ -195,9 +195,7 @@ void send_files(struct file_list *flist,int f_out,int f_in)
if (verbose > 2)
rprintf(FINFO,"send_files mapped %s of size %.0f\n",
fname,(double)st.st_size);
}
if (!read_batch) { /* dw */
write_int(f_out,i);
if (write_batch)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment