Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed some logcode warnings
[rsync/rsync.git]
/
log.c
diff --git
a/log.c
b/log.c
index
8619e4d
..
f0ee10e
100644
(file)
--- 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 */
/* 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)
{
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;
}
s = p+l;
}
- rprintf(
fd
,"%s\n", buf);
+ rprintf(
code
,"%s\n", buf);
}
/* log the outgoing transfer of a file */
}
/* log the outgoing transfer of a file */