Fixed a problem with the output of %f for non-daemon rsyncs.
authorWayne Davison <wayned@samba.org>
Sat, 23 Dec 2006 20:48:29 +0000 (20:48 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 23 Dec 2006 20:48:29 +0000 (20:48 +0000)
log.c

diff --git a/log.c b/log.c
index d5308b2..8fe4744 100644 (file)
--- a/log.c
+++ b/log.c
@@ -525,7 +525,7 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
                                        n = c;
                                } else
                                        n = buf2;
-                       } else if (*c != '/') {
+                       } else if (am_daemon && *c != '/') {
                                pathjoin(buf2, sizeof buf2,
                                         curr_dir + module_dirlen, c);
                                clean_fname(buf2, 0);