sync with OpenBSD -current
This commit is contained in:
parent
62d64fa864
commit
4574748555
13806 changed files with 1142078 additions and 937084 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: sftp-client.c,v 1.174 2023/09/08 06:10:02 djm Exp $ */
|
||||
/* $OpenBSD: sftp-client.c,v 1.175 2023/11/13 09:18:19 tobhe Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
|
||||
*
|
||||
|
@ -636,7 +636,7 @@ sftp_get_limits(struct sftp_conn *conn, struct sftp_limits *limits)
|
|||
/* Disable the limits extension */
|
||||
conn->exts &= ~SFTP_EXT_LIMITS;
|
||||
sshbuf_free(msg);
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
memset(limits, 0, sizeof(*limits));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue