mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-05 21:45:22 -04:00
Some simple whitespace tweaks.
This commit is contained in:
@@ -546,7 +546,7 @@ static void recv_generator(char *fname, struct file_struct *file, int i,
|
||||
void generate_files(int f, struct file_list *flist, char *local_name)
|
||||
{
|
||||
int i;
|
||||
int phase=0;
|
||||
int phase = 0;
|
||||
char fbuf[MAXPATHLEN];
|
||||
|
||||
if (verbose > 2) {
|
||||
@@ -589,7 +589,7 @@ void generate_files(int f, struct file_list *flist, char *local_name)
|
||||
|
||||
phase++;
|
||||
csum_length = SUM_LENGTH;
|
||||
ignore_times=1;
|
||||
ignore_times = 1;
|
||||
|
||||
if (verbose > 2)
|
||||
rprintf(FINFO,"generate_files phase=%d\n",phase);
|
||||
|
||||
6
main.c
6
main.c
@@ -401,7 +401,7 @@ static void do_server_sender(int f_in, int f_out, int argc,char *argv[])
|
||||
}
|
||||
|
||||
if (argc == 0 && recurse) {
|
||||
argc=1;
|
||||
argc = 1;
|
||||
argv--;
|
||||
argv[0] = ".";
|
||||
}
|
||||
@@ -428,7 +428,7 @@ static void do_server_sender(int f_in, int f_out, int argc,char *argv[])
|
||||
static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
|
||||
{
|
||||
int pid;
|
||||
int status=0;
|
||||
int status = 0;
|
||||
int error_pipe[2];
|
||||
|
||||
if (preserve_hard_links)
|
||||
@@ -448,7 +448,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
|
||||
|
||||
io_flush(NORMAL_FLUSH);
|
||||
|
||||
if ((pid=do_fork()) == 0) {
|
||||
if ((pid = do_fork()) == 0) {
|
||||
close(error_pipe[0]);
|
||||
if (f_in != f_out)
|
||||
close(f_out);
|
||||
|
||||
@@ -208,7 +208,7 @@ static int receive_data(int f_in,struct map_struct *mapbuf,int fd,char *fname,
|
||||
char *data;
|
||||
static char file_sum1[MD4_SUM_LENGTH];
|
||||
static char file_sum2[MD4_SUM_LENGTH];
|
||||
char *map=NULL;
|
||||
char *map = NULL;
|
||||
|
||||
read_sum_head(f_in, &sum);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user