diff options
-rw-r--r-- | qacp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -582,7 +582,7 @@ sendfiles(char **argv, int argc, int fileidx, short recursive) tmprstatp = qacp_rstat(rdnp, &rstaterrno); free(rdnp); - if (rstatp) { + if (tmprstatp) { /* Ok, the dir exists, i.e. rmtpath is /tmp/foo * and the first rstat was an error. Now we know * that /tmp exists, we leave destpath == rmtpath. |