mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-09-21 01:34:54 -04:00
Turned the char *dir.root var in struct file_struct into a const char *.
This commit is contained in:
1 parent
149a78e33f
commit
eaf895e6ef
1 file changed
+1
-1
@@ -520,7 +520,7 @@ struct file_struct {
|
||||
char *basename; /* The current item's name (AKA filename) */
|
||||
char *dirname; /* The directory info inside the transfer */
|
||||
union {
|
||||
char *root; /* Sender-side dir info outside transfer */
|
||||
const char *root;/* Sender-side dir info outside transfer */
|
||||
int depth; /* Receiver-side directory depth info */
|
||||
} dir;
|
||||
union {
|
||||
|
||||
Reference in new issue
Block a user