]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - scp.c
... and there's a Unix port of PSCP. Ooh.
[PuTTY.git] / scp.c
diff --git a/scp.c b/scp.c
index 53cb60abc29141dfb83b0f6456137a03fab4c705..00852bc49e9649c4b2ec8c98557bc3515f36ef14 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -1711,7 +1711,7 @@ static void sink(char *targ, char *src)
            }
 
            if (targ[0] != '\0')
-               destfname = dupcat(targ, "\\", striptarget, NULL);
+               destfname = dir_file_cat(targ, striptarget);
            else
                destfname = dupstr(striptarget);
        } else {