diff options
| author | Wayne Davison <wayned@samba.org> | 2006-11-13 00:27:10 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-11-13 00:27:10 +0000 |
| commit | cd87e2f59abe075139af21039dd857fd90849fa5 (patch) | |
| tree | c1d4367ce435b27284473e839b12c733e65cc603 /flist.c | |
| parent | 2c70847654b277b310f15189a73d2ccbf5802383 (diff) | |
| download | android_external_rsync-cd87e2f59abe075139af21039dd857fd90849fa5.tar.gz android_external_rsync-cd87e2f59abe075139af21039dd857fd90849fa5.tar.bz2 android_external_rsync-cd87e2f59abe075139af21039dd857fd90849fa5.zip | |
Turned the char * vars flist_dir and lastdir into const char * vars.
Diffstat (limited to 'flist.c')
| -rw-r--r-- | flist.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -255,7 +255,7 @@ static mode_t from_wire_mode(int mode) static void send_directory(int f, struct file_list *flist, char *fbuf, int len); -static char *flist_dir; +static const char *flist_dir; static int flist_dir_len; @@ -1216,7 +1216,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[]) } if (dir && *dir) { - static char *lastdir; + static const char *lastdir; static int lastdir_len; strlcpy(olddir, curr_dir, sizeof olddir); |
