[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Wed Oct 3 16:23:32 MDT 2012


The branch, master has been updated
       via  7cefbf1 Fix indentation that used expanded tabs.
      from  f143b55 Avoid an unused variable warning if no setvbuf.

;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7cefbf106f57ed47e1c64ce46fe973dbaab425e8
Author: Wayne Davison <wayned at samba.org>
Date:   Wed Oct 3 15:20:43 2012 -0700

    Fix indentation that used expanded tabs.

-----------------------------------------------------------------------

Summary of changes:
 io.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)


Changeset truncated at 500 lines:

diff --git a/io.c b/io.c
index 4addda0..c9b5862 100644
--- a/io.c
+++ b/io.c
@@ -1238,8 +1238,8 @@ void read_args(int f_in, char *mod_name, char *buf, size_t bufsiz, int rl_nulls,
 	if (mod_name && !protect_args)
 		argv[argc++] = "rsyncd";
 
-        if (request_p)
-                *request_p = NULL;
+	if (request_p)
+		*request_p = NULL;
 
 	while (1) {
 		if (read_line(f_in, buf, bufsiz, rl_flags) == 0)
@@ -1253,13 +1253,13 @@ void read_args(int f_in, char *mod_name, char *buf, size_t bufsiz, int rl_nulls,
 
 		if (dot_pos) {
 			if (request_p && request_len < 1024) {
-                                int len = strlen(buf);
-                                if (request_len)
-                                        request_p[0][request_len++] = ' ';
-                                if (!(*request_p = realloc_array(*request_p, char, request_len + len + 1)))
-                                        out_of_memory("read_args");
-                                memcpy(*request_p + request_len, buf, len + 1);
-                                request_len += len;
+				int len = strlen(buf);
+				if (request_len)
+					request_p[0][request_len++] = ' ';
+				if (!(*request_p = realloc_array(*request_p, char, request_len + len + 1)))
+					out_of_memory("read_args");
+				memcpy(*request_p + request_len, buf, len + 1);
+				request_len += len;
 			}
 			if (mod_name)
 				glob_expand_module(mod_name, buf, &argv, &argc, &maxargs);


-- 
The rsync repository.


More information about the rsync-cvs mailing list