diff = u_strcmp(fmid->basename, f->basename);
if (diff == 0) {
good_match = mid;
-@@ -589,7 +591,6 @@ static void delete_in_dir(char *fbuf, struct file_struct *file, dev_t *fs_dev,
- char *p, delbuf[MAXPATHLEN];
- unsigned remainder;
- int dlen, i, restore_dot = 0;
-- int save_uid_ndx = uid_ndx;
-
- if (!fbuf) {
- change_local_filter_dir(NULL, 0, 0);
-@@ -2047,6 +2048,21 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
+@@ -2046,6 +2048,21 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
fnamecmp = partialptr;
fnamecmp_type = FNAMECMP_PARTIAL_DIR;
statret = 0;