Commit 92cdc393 authored by Wayne Davison's avatar Wayne Davison

When pop_dir(olddir) fails, pass the right string pointer

in the error message.
parent 78be8e0f
......@@ -1244,7 +1244,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
flist_dir_len = 0;
if (!pop_dir(olddir)) {
rsyserr(FERROR, errno, "pop_dir %s failed",
full_fname(dir));
full_fname(olddir));
exit_cleanup(RERR_FILESELECT);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment