From: Wayne Davison Date: Mon, 13 Nov 2006 00:27:00 +0000 (+0000) Subject: Turned the char *dir.root var in struct file_struct into a const char *. X-Git-Tag: v3.0.0pre1~575 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaf895e6efca5348e96375425f15fc94ddebcd71;p=thirdparty%2Frsync.git Turned the char *dir.root var in struct file_struct into a const char *. --- diff --git a/rsync.h b/rsync.h index b8512ded..269631dc 100644 --- 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 {