- (dtucker) OpenBSD CVS Sync
- djm@cvs.openbsd.org 2012/09/17 09:54:44 [sftp.c] an XXX for later
This commit is contained in:
parent
26b9e3b0c5
commit
0af2405ebf
|
@ -1,3 +1,9 @@
|
|||
20121005
|
||||
- (dtucker) OpenBSD CVS Sync
|
||||
- djm@cvs.openbsd.org 2012/09/17 09:54:44
|
||||
[sftp.c]
|
||||
an XXX for later
|
||||
|
||||
20120917
|
||||
- (dtucker) OpenBSD CVS Sync
|
||||
- dtucker@cvs.openbsd.org 2012/09/13 23:37:36
|
||||
|
|
3
sftp.c
3
sftp.c
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: sftp.c,v 1.136 2012/06/22 14:36:33 dtucker Exp $ */
|
||||
/* $OpenBSD: sftp.c,v 1.137 2012/09/17 09:54:44 djm Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
|
||||
*
|
||||
|
@ -1917,6 +1917,7 @@ interactive_loop(struct sftp_conn *conn, char *file1, char *file2)
|
|||
return (-1);
|
||||
}
|
||||
} else {
|
||||
/* XXX this is wrong wrt quoting */
|
||||
if (file2 == NULL)
|
||||
snprintf(cmd, sizeof cmd, "get %s", dir);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue