summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2012-10-03 15:20:43 -0700
committerWayne Davison <wayned@samba.org>2012-10-03 15:20:43 -0700
commit7cefbf106f57ed47e1c64ce46fe973dbaab425e8 (patch)
treead8213b511000db3be51d12ebc7a4cecda473140
parentf143b55ef11d2a43fa581e137f717aad3fdf01a3 (diff)
downloadrsync-7cefbf106f57ed47e1c64ce46fe973dbaab425e8.tar.gz
Fix indentation that used expanded tabs.
-rw-r--r--io.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/io.c b/io.c
index 4addda0a..c9b58629 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);