Commit eaf895e6 authored by Wayne Davison's avatar Wayne Davison

Turned the char *dir.root var in struct file_struct into a const char *.

parent 149a78e3
...@@ -520,7 +520,7 @@ struct file_struct { ...@@ -520,7 +520,7 @@ struct file_struct {
char *basename; /* The current item's name (AKA filename) */ char *basename; /* The current item's name (AKA filename) */
char *dirname; /* The directory info inside the transfer */ char *dirname; /* The directory info inside the transfer */
union { 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 */ int depth; /* Receiver-side directory depth info */
} dir; } dir;
union { union {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment