From 04f6e1ccedc8013959dabe65de176a978031611a Mon Sep 17 00:00:00 2001
From: Andreas Mohr <and@gmx.li>
Date: Sun, 3 Jan 2016 17:37:27 +0000
Subject: [PATCH 05/05] sftp: fix connection memleaks (cosmetic)
add FIXME for deprected libssh2_session_startup() since libssh2 1.2.8
Signed-off-by: Andreas Mohr <and@gmx.li>
---
src/vfs/sftpfs/connection.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/vfs/sftpfs/connection.c b/src/vfs/sftpfs/connection.c
index 03a5b7e..ba60076 100644
a
|
b
|
sftpfs_open_connection (struct vfs_s_super *super, GError ** mcerror) |
388 | 388 | /* ... start it up. This will trade welcome banners, exchange keys, |
389 | 389 | * and setup crypto, compression, and MAC layers |
390 | 390 | */ |
| 391 | /* FIXME: Starting in libssh2 version 1.2.8 this function is considered deprecated. |
| 392 | Use libssh2_session_handshake instead. */ |
391 | 393 | rc = libssh2_session_startup (super_data->session, super_data->socket_handle); |
392 | 394 | if (rc != 0) |
393 | 395 | { |