X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/0501f36390db003456145cf28997e77639667caa..4e1f385711a5c5703eb1c3bbf21cc83c95fe3a6e:/flist.c diff --git a/flist.c b/flist.c index 4e6cf046..6f20e83d 100644 --- a/flist.c +++ b/flist.c @@ -328,7 +328,7 @@ void send_file_entry(struct file_struct *file, int f, unsigned short base_flags) static uid_t uid; static gid_t gid; static char lastname[MAXPATHLEN]; - char *fname, fbuf[MAXPATHLEN]; + char fname[MAXPATHLEN]; int l1, l2; if (f == -1) @@ -346,7 +346,7 @@ void send_file_entry(struct file_struct *file, int f, unsigned short base_flags) io_write_phase = "send_file_entry"; - fname = f_name_to(file, fbuf); + f_name_to(file, fname); flags = base_flags;