summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-06-07 22:47:01 +0000
committerWayne Davison <wayned@samba.org>2004-06-07 22:47:01 +0000
commitf9c6b3e7d622d6e3960faec80a382bbef99d7a8c (patch)
tree794d66de9c1182ae2f437484c2381ce0a1aa6c70
parent9e5a5ddb4c4a66109fa3871ccccd479a72590d79 (diff)
downloadrsync-f9c6b3e7d622d6e3960faec80a382bbef99d7a8c.tar.gz
Increase the size of the message-receving buffer for error
messages sent from the receiver to the generator.
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 929609ef..d5376773 100644
--- a/io.c
+++ b/io.c
@@ -194,7 +194,7 @@ void send_msg(enum msgcode code, char *buf, int len)
* called by the generator. */
static void read_msg_fd(void)
{
- char buf[200];
+ char buf[2048];
size_t n;
int fd = msg_fd_in;
int tag, len;
@@ -247,7 +247,7 @@ static void read_msg_fd(void)
/* Try to push messages off the list onto the wire. If we leave with more
* to do, return 0. On error, return -1. If everything flushed, return 1.
- * This is only called by the receiver. */
+ * This is only active in the receiver. */
int msg_list_push(int flush_it_all)
{
static int written = 0;