artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe81f2
)
no need to reset buffer after send_msg() as that is done for us;
author
djm
<djm@openbsd.org>
Wed, 10 Mar 2021 04:58:45 +0000
(
04:58
+0000)
committer
djm
<djm@openbsd.org>
Wed, 10 Mar 2021 04:58:45 +0000
(
04:58
+0000)
patch from Mike Frysinger
usr.bin/ssh/sftp-client.c
patch
|
blob
|
history
diff --git
a/usr.bin/ssh/sftp-client.c
b/usr.bin/ssh/sftp-client.c
index
a40c91c
..
b047a7e
100644
(file)
--- a/
usr.bin/ssh/sftp-client.c
+++ b/
usr.bin/ssh/sftp-client.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: sftp-client.c,v 1.1
39 2020/12/04 02:41:10
djm Exp $ */
+/* $OpenBSD: sftp-client.c,v 1.1
40 2021/03/10 04:58:45
djm Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
@@
-404,8
+404,6
@@
do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests,
send_msg(ret, msg);
- sshbuf_reset(msg);
-
get_msg_extended(ret, msg, 1);
/* Expecting a VERSION reply */