summaryrefslogtreecommitdiff
path: root/lib/ssh.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-08-25 02:43:19 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-08-25 02:43:19 -0400
commit2c36cb1cbbd679c915856fbac551eee953025b5e (patch)
treea54c2e64a4f0e85d776b5a6efe686f6b8f04fce5 /lib/ssh.c
parent7ad50a61f28f773ad2d2f03031423da81bfb69fe (diff)
downloadcurl-2c36cb1cbbd679c915856fbac551eee953025b5e.tar.gz
http2: Remove incorrect comments
.. also remove same from scp
Diffstat (limited to 'lib/ssh.c')
-rw-r--r--lib/ssh.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index bf7cfe01b..e361df301 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -3109,7 +3109,6 @@ static CURLcode scp_done(struct connectdata *conn, CURLcode status,
}
-/* return number of received (decrypted) bytes */
static ssize_t scp_send(struct connectdata *conn, int sockindex,
const void *mem, size_t len, CURLcode *err)
{
@@ -3134,10 +3133,6 @@ static ssize_t scp_send(struct connectdata *conn, int sockindex,
return nwrite;
}
-/*
- * If the read would block (EWOULDBLOCK) we return -1. Otherwise we return
- * a regular CURLcode value.
- */
static ssize_t scp_recv(struct connectdata *conn, int sockindex,
char *mem, size_t len, CURLcode *err)
{