X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/33cbd577ad5cd3f156c8666533fc9b8eed250eba..7c73536c25744a5e38027ec373a4cc26f4a681c4:/log.c diff --git a/log.c b/log.c index b837900c..cd5cd843 100644 --- a/log.c +++ b/log.c @@ -52,6 +52,7 @@ extern iconv_t ic_chck; extern iconv_t ic_send, ic_recv; #endif extern char curr_dir[]; +extern char *module_dir; extern unsigned int module_dirlen; static int log_initialised; @@ -580,7 +581,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 = module_dir; break; case 'u': n = auth_user;