summaryrefslogtreecommitdiffstats
path: root/scp.c
diff options
context:
space:
mode:
authorderaadt@openbsd.org <deraadt@openbsd.org>2022-02-23 20:01:00 +0100
committerDamien Miller <djm@mindrot.org>2022-02-23 22:23:13 +0100
commit449bcb8403adfb9724805d02a51aea76046de185 (patch)
tree450b681096d91d420d4b75cab945e3c80c415812 /scp.c
parentmakedepend (diff)
downloadopenssh-449bcb8403adfb9724805d02a51aea76046de185.tar.xz
openssh-449bcb8403adfb9724805d02a51aea76046de185.zip
upstream: and we go back to testing sftp-scp after the 8.9
release... OpenBSD-Commit-ID: a80440168258adca543a4607b871327a279c569c
Diffstat (limited to '')
-rw-r--r--scp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scp.c b/scp.c
index 519bffa1b..04f1a649b 100644
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scp.c,v 1.245 2022/02/10 04:12:38 djm Exp $ */
+/* $OpenBSD: scp.c,v 1.246 2022/02/23 19:01:00 deraadt Exp $ */
/*
* scp - secure remote copy. This is basically patched BSD rcp which
* uses ssh to do the data transfer (instead of using rcmd).
@@ -449,7 +449,7 @@ main(int argc, char **argv)
const char *errstr;
extern char *optarg;
extern int optind;
- enum scp_mode_e mode = MODE_SCP;
+ enum scp_mode_e mode = MODE_SFTP;
char *sftp_direct = NULL;
/* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */