diff options
author | Wayne Davison <wayned@samba.org> | 2004-01-03 18:37:41 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-01-03 18:37:41 +0000 |
commit | da9d12f5d93724cb07a4107aa7aff92be9fb2ddb (patch) | |
tree | 33dc928b01389b7adb8c55da30de42c29d0dcf00 /options.c | |
parent | a60e2dca6b475e41882d9070c90079dfedf6b5bc (diff) | |
download | rsync-da9d12f5d93724cb07a4107aa7aff92be9fb2ddb.tar.gz |
Made the types used in the sum_buf and sum_struct structures consistent
with the variables in the code that manipulates these values.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,7 +78,6 @@ int do_progress=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; @@ -88,6 +87,7 @@ int max_delete=0; int ignore_errors=0; int modify_window=0; int blocking_io=-1; +unsigned int block_size = 0; /** Network address family. **/ @@ -790,7 +790,7 @@ void server_options(char **args,int *argc) 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; } |