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
Set stats.current_file_index.
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
915b034
..
1fe70b8
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-78,7
+78,6
@@
int do_progress=0;
int keep_partial=0;
int safe_symlinks=0;
int copy_unsafe_links=0;
int keep_partial=0;
int safe_symlinks=0;
int copy_unsafe_links=0;
-int block_size=0;
int size_only=0;
int bwlimit=0;
int delete_after=0;
int size_only=0;
int bwlimit=0;
int delete_after=0;
@@
-88,6
+87,7
@@
int max_delete=0;
int ignore_errors=0;
int modify_window=0;
int blocking_io=-1;
int ignore_errors=0;
int modify_window=0;
int blocking_io=-1;
+unsigned int block_size = 0;
/** Network address family. **/
/** Network address family. **/
@@
-790,7
+790,7
@@
void server_options(char **args,int *argc)
if (x != 1) args[ac++] = argstr;
if (block_size) {
if (x != 1) args[ac++] = argstr;
if (block_size) {
- snprintf(bsize,
sizeof(bsize),"-B%d",
block_size);
+ snprintf(bsize,
sizeof bsize, "-B%u",
block_size);
args[ac++] = bsize;
}
args[ac++] = bsize;
}