Some simple whitespace tweaks.
authorWayne Davison <wayned@samba.org>
Wed, 30 Jun 2004 07:27:30 +0000 (07:27 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 30 Jun 2004 07:27:30 +0000 (07:27 +0000)
generator.c
main.c
receiver.c

index 997513d..6b8a9a2 100644 (file)
@@ -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);
diff --git a/main.c b/main.c
index f71d46c..75070e3 100644 (file)
--- a/main.c
+++ b/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);
index f69fa1d..29fd33c 100644 (file)
@@ -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);