diff options
author | Friedemann Kleint <[email protected]> | 2012-10-01 15:26:13 +0200 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2012-10-01 16:47:05 +0200 |
commit | 2de2af5ee0e0b484d29f58d8f2821260f6edbb1a (patch) | |
tree | 9ab2bf37f7c1bce03ef1e1ad66617479f492e29a /src/libs/ssh/sshconnection.cpp | |
parent | 599e4881c237e449ee0fa90ba3e1c783db7c56f6 (diff) |
tr()-fixes for 2.6.
Change-Id: I6ad0e25d084cfccde6776c8d4cdaae43ea071b55
Reviewed-by: Leena Miettinen <[email protected]>
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/libs/ssh/sshconnection.cpp')
-rw-r--r-- | src/libs/ssh/sshconnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/ssh/sshconnection.cpp b/src/libs/ssh/sshconnection.cpp index 7d748d02677..a78a5505252 100644 --- a/src/libs/ssh/sshconnection.cpp +++ b/src/libs/ssh/sshconnection.cpp @@ -357,8 +357,8 @@ void SshConnectionPrivate::handleServerId() if (newLinePos > 255 - 1) { throw SshServerException(SSH_DISCONNECT_PROTOCOL_ERROR, "Identification string too long.", - tr("Server identification string is %1 characters long, but the maximum " - "allowed length is 255.").arg(newLinePos + 1)); + tr("Server identification string is %n characters long, but the maximum " + "allowed length is 255.", 0, newLinePos + 1)); } const bool hasCarriageReturn = m_incomingData.at(newLinePos - 1) == '\r'; |