diff options
author | Alexander Golubev <[email protected]> | 2024-01-29 03:43:28 +0300 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-04 23:34:45 +0900 |
commit | fae96a29fb62f852eaf4a6a638c0d08258ed427d (patch) | |
tree | 5085a83ca9e41a6bf3008ac6cae7fcf8bc9d7e79 /tdeioslave/sftp/tdeio_sftp.h | |
parent | a9d6ae553a99067a0035fc7ab732b240b3599eab (diff) | |
download | tdebase-fae96a29fb62f852eaf4a6a638c0d08258ed427d.tar.gz tdebase-fae96a29fb62f852eaf4a6a638c0d08258ed427d.zip |
tdeioslave/sftp: imbue error messages with errors from libssh
Signed-off-by: Alexander Golubev <[email protected]>
(cherry picked from commit 4d88b3edddc46ab56e773c4c73cd29b3292b3181)
Diffstat (limited to 'tdeioslave/sftp/tdeio_sftp.h')
-rw-r--r-- | tdeioslave/sftp/tdeio_sftp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tdeioslave/sftp/tdeio_sftp.h b/tdeioslave/sftp/tdeio_sftp.h index 747294782..6a33dc8a0 100644 --- a/tdeioslave/sftp/tdeio_sftp.h +++ b/tdeioslave/sftp/tdeio_sftp.h @@ -176,6 +176,9 @@ private: // private methods /** @returns username used by libssh during the connection */ TQString sshUsername(); + /** Adds ssh error (if any) to the given message string */ + TQString sshError(TQString errMsg=TQString()); + /** A small helper function to construct auth info skeleton for the protocol */ TDEIO::AuthInfo authInfo(); |