From: Andrew Tridgell Date: Tue, 25 Jun 1996 13:44:27 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/6cd612740f29d483ecedbcd33ae7471e651dcda1 *** empty log message *** --- diff --git a/util.c b/util.c index 856ed199..837e8c45 100644 --- a/util.c +++ b/util.c @@ -68,17 +68,17 @@ static int num_waiting(int fd) return(len); } +void write_flush(int f) +{ +} + + static char *read_buffer = NULL; static char *read_buffer_p = NULL; static int read_buffer_len = 0; static int read_buffer_size = 0; -void write_flush(int f) -{ -} - - /* This function was added to overcome a deadlock problem when using * ssh. It looks like we can't allow our receive queue to get full or * ssh will clag up. Uggh. */ @@ -99,7 +99,7 @@ void read_check(int f) } if (n > (read_buffer_size - read_buffer_len)) { - read_buffer_size += n; + read_buffer_size += n; /* deliberately overdo it a bit */ if (!read_buffer) read_buffer = (char *)malloc(read_buffer_size); else