Turned the char *dir.root var in struct file_struct into a const char *.
authorWayne Davison <wayned@samba.org>
Mon, 13 Nov 2006 00:27:00 +0000 (00:27 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 13 Nov 2006 00:27:00 +0000 (00:27 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index b8512de..269631d 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -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 {