summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-09-11 06:14:00 -0700
committerWayne Davison <wayned@samba.org>2008-09-11 07:35:40 -0700
commit26e21efc5a7e87b2aa1bdb6d64a74a30c699c085 (patch)
tree57fe7cf29c187fd716563cf88952152a473f6648 /log.c
parent433c6753a83d070dad5526989e62cce426c0432e (diff)
downloadrsync-26e21efc5a7e87b2aa1bdb6d64a74a30c699c085.tar.gz
Convey the cleaned-up module-path to the user in all cases.
Fixed a just-introduced problem with a relative module-path.
Diffstat (limited to 'log.c')
-rw-r--r--log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/log.c b/log.c
index 333e55d7..3d4af77a 100644
--- a/log.c
+++ b/log.c
@@ -57,6 +57,7 @@ extern iconv_t ic_chck;
extern iconv_t ic_recv;
#endif
extern char curr_dir[MAXPATHLEN];
+extern char *full_module_path;
extern unsigned int module_dirlen;
extern char sender_file_sum[MAX_DIGEST_LEN];
@@ -617,7 +618,7 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
n = timestring(time(NULL));
break;
case 'P':
- n = lp_path(module_id);
+ n = full_module_path;
break;
case 'u':
n = auth_user;