forked from openbsd/ports
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
no need to reset buffer after send_msg() as that is done for us;
patch from Mike Frysinger
- Loading branch information
Showing
1 changed file
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: sftp-client.c,v 1.139 2020/12/04 02:41:10 djm Exp $ */ | ||
/* $OpenBSD: sftp-client.c,v 1.140 2021/03/10 04:58:45 djm Exp $ */ | ||
/* | ||
* Copyright (c) 2001-2004 Damien Miller <[email protected]> | ||
* | ||
|
@@ -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 */ | ||
|