summaryrefslogtreecommitdiffstats
path: root/tdessh/sshdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdessh/sshdlg.cpp')
-rw-r--r--tdessh/sshdlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdessh/sshdlg.cpp b/tdessh/sshdlg.cpp
index a43c9d0..3849bfc 100644
--- a/tdessh/sshdlg.cpp
+++ b/tdessh/sshdlg.cpp
@@ -1,4 +1,4 @@
-/* vi: ts=8 sts=4 sw=4
+/*
*
* $Id$
*
@@ -41,12 +41,12 @@ TDEsshDialog::~TDEsshDialog()
}
-bool TDEsshDialog::checkPassword(const char *password)
+bool TDEsshDialog::checkPassword(const TQString &password)
{
SshProcess proc(m_Host, m_User);
proc.setStub(m_Stub);
- int ret = proc.checkInstall(password);
+ int ret = proc.checkInstall(password.local8Bit());
switch (ret)
{
case -1: