summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-29 02:49:03 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-29 02:49:03 +0000
commit0f3203c312c3e254b611a1687f8ff9a6bdf82376 (patch)
tree8dfbacda2e532d379926d37bc9afbab7638b853d /log.c
parenta2edb26cd61e68fe6b21f9ec7edd89513ad3227d (diff)
downloadrsync-0f3203c312c3e254b611a1687f8ff9a6bdf82376.tar.gz
rsync-0f3203c312c3e254b611a1687f8ff9a6bdf82376.tar.bz2
rsync-0f3203c312c3e254b611a1687f8ff9a6bdf82376.zip
fixed some logcode warnings
Diffstat (limited to 'log.c')
-rw-r--r--log.c4
1 files changed, 2 insertions, 2 deletions
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 */