Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved the talk of --hard-link improvements.
[rsync/rsync.git]
/
sender.c
diff --git
a/sender.c
b/sender.c
index
0175c9e
..
c011be6
100644
(file)
--- a/
sender.c
+++ b/
sender.c
@@
-44,7
+44,6
@@
extern int batch_fd;
extern int write_batch;
extern struct stats stats;
extern struct file_list *cur_flist, *first_flist;
extern int write_batch;
extern struct stats stats;
extern struct file_list *cur_flist, *first_flist;
-extern char *stdout_format;
/**
* @file
/**
* @file
@@
-149,7
+148,7
@@
void successful_send(int ndx)
void write_ndx_and_attrs(int f_out, int ndx, int iflags,
uchar fnamecmp_type, char *buf, int len)
{
void write_ndx_and_attrs(int f_out, int ndx, int iflags,
uchar fnamecmp_type, char *buf, int len)
{
- write_
int
(f_out, ndx);
+ write_
ndx
(f_out, ndx);
if (protocol_version < 29)
return;
write_shortint(f_out, iflags);
if (protocol_version < 29)
return;
write_shortint(f_out, iflags);
@@
-191,7
+190,7
@@
void send_files(int f_in, int f_out)
if (incremental && first_flist) {
flist_free(first_flist);
if (first_flist) {
if (incremental && first_flist) {
flist_free(first_flist);
if (first_flist) {
- write_
int
(f_out, NDX_DONE);
+ write_
ndx
(f_out, NDX_DONE);
continue;
}
}
continue;
}
}
@@
-199,7
+198,7
@@
void send_files(int f_in, int f_out)
break;
if (verbose > 2)
rprintf(FINFO, "send_files phase=%d\n", phase);
break;
if (verbose > 2)
rprintf(FINFO, "send_files phase=%d\n", phase);
- write_
int
(f_out, NDX_DONE);
+ write_
ndx
(f_out, NDX_DONE);
continue;
}
continue;
}
@@
-354,5
+353,5
@@
void send_files(int f_in, int f_out)
match_report();
match_report();
- write_
int
(f_out, NDX_DONE);
+ write_
ndx
(f_out, NDX_DONE);
}
}