X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a2edb26cd61e68fe6b21f9ec7edd89513ad3227d..0f3203c312c3e254b611a1687f8ff9a6bdf82376:/log.c diff --git a/log.c b/log.c index 8619e4d6..f0ee10e0 100644 --- a/log.c +++ b/log.c @@ -194,7 +194,7 @@ void rflush(enum logcode code) /* a generic logging routine for send/recv, with parameter substitiution */ -static void log_formatted(int fd, +static void log_formatted(enum logcode code, char *format, char *op, struct file_struct *file, struct stats *initial_stats) { @@ -284,7 +284,7 @@ static void log_formatted(int fd, s = p+l; } - rprintf(fd,"%s\n", buf); + rprintf(code,"%s\n", buf); } /* log the outgoing transfer of a file */