diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-29 02:49:03 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-29 02:49:03 +0000 |
commit | 0f3203c312c3e254b611a1687f8ff9a6bdf82376 (patch) | |
tree | 8dfbacda2e532d379926d37bc9afbab7638b853d /log.c | |
parent | a2edb26cd61e68fe6b21f9ec7edd89513ad3227d (diff) | |
download | rsync-0f3203c312c3e254b611a1687f8ff9a6bdf82376.tar.gz rsync-0f3203c312c3e254b611a1687f8ff9a6bdf82376.tar.bz2 rsync-0f3203c312c3e254b611a1687f8ff9a6bdf82376.zip |
fixed some logcode warnings
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |