From 56194bcd9591d2fa5ee75325ac69b93fb411d184 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 17 Sep 2004 16:39:34 +0000 Subject: [PATCH] When outputting the flist info (in a debug-level of verbosity) we now mention the UID of the file when we are the sender (as well as when we are root). --- flist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flist.c b/flist.c index 4e0af363..c46098fc 100644 --- a/flist.c +++ b/flist.c @@ -34,6 +34,7 @@ extern int do_progress; extern int am_root; extern int am_server; extern int am_daemon; +extern int am_sender; extern int always_checksum; extern int module_id; extern int ignore_errors; @@ -1487,7 +1488,7 @@ static void output_flist(struct file_list *flist) for (i = 0; i < flist->count; i++) { file = flist->files[i]; - if (am_root && preserve_uid) + if ((am_root || am_sender) && preserve_uid) sprintf(uidbuf, " uid=%ld", (long)file->uid); else *uidbuf = '\0'; -- 2.34.1