diff options
author | Alexander Golubev <[email protected]> | 2024-01-29 03:43:28 +0300 |
---|---|---|
committer | TDE Gitea <[email protected]> | 2024-03-04 11:04:11 +0000 |
commit | 4d88b3edddc46ab56e773c4c73cd29b3292b3181 (patch) | |
tree | 9afa0a4e3e5d085b111481f243cffe1e9b2aaadd /tdeioslave/sftp/tdeio_sftp.h | |
parent | ee73349644fdf2a3a2ac122d7f930f84b00bcdba (diff) | |
download | tdebase-4d88b3edddc46ab56e773c4c73cd29b3292b3181.tar.gz tdebase-4d88b3edddc46ab56e773c4c73cd29b3292b3181.zip |
tdeioslave/sftp: imbue error messages with errors from libssh
Signed-off-by: Alexander Golubev <[email protected]>
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(); |