From f376e67420cc738aa4952e6b55c60cf63adf6e88 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 29 May 2004 21:21:17 +0000 Subject: [PATCH] Got rid of an unneeded character pointer in send_file_entry(). --- flist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.34.1