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
Made the (re-)building of the proto.h file automatic in the
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
2fc664c
..
4c040b9
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-41,7
+41,7
@@
extern int remove_source_files;
extern int need_messages_from_generator;
extern int kluge_around_eof;
extern int do_stats;
extern int need_messages_from_generator;
extern int kluge_around_eof;
extern int do_stats;
-extern int
log_got
_error;
+extern int
got_xfer
_error;
extern int module_id;
extern int copy_links;
extern int copy_dirlinks;
extern int module_id;
extern int copy_links;
extern int copy_dirlinks;
@@
-926,10
+926,10
@@
static void do_server_recv(int f_in, int f_out, int argc, char *argv[])
if (sanitize_paths) {
char **dir;
for (dir = basis_dir; *dir; dir++) {
if (sanitize_paths) {
char **dir;
for (dir = basis_dir; *dir; dir++) {
- *dir = sanitize_path(NULL, *dir, NULL, curr_dir_depth
, NULL
);
+ *dir = sanitize_path(NULL, *dir, NULL, curr_dir_depth);
}
if (partial_dir) {
}
if (partial_dir) {
- partial_dir = sanitize_path(NULL, partial_dir, NULL, curr_dir_depth
, NULL
);
+ partial_dir = sanitize_path(NULL, partial_dir, NULL, curr_dir_depth);
}
}
fix_basis_dirs();
}
}
fix_basis_dirs();
@@
-1310,7
+1310,7
@@
static RETSIGTYPE sigusr2_handler(UNUSED(int val))
if (!am_server)
output_summary();
close_all();
if (!am_server)
output_summary();
close_all();
- if (
log_got
_error)
+ if (
got_xfer
_error)
_exit(RERR_PARTIAL);
_exit(0);
}
_exit(RERR_PARTIAL);
_exit(0);
}