forked from qt-creator/qt-creator
SSH: Add debug message.
Change-Id: I246ae125285da6c5be8e2acbe8547270a185d298 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -332,6 +332,10 @@ void SshConnectionPrivate::handleIncomingData()
|
|||||||
|
|
||||||
void SshConnectionPrivate::handleServerId()
|
void SshConnectionPrivate::handleServerId()
|
||||||
{
|
{
|
||||||
|
#ifdef CREATOR_SSH_DEBUG
|
||||||
|
qDebug("%s: incoming data size = %d, incoming data = '%s'",
|
||||||
|
Q_FUNC_INFO, m_incomingData.count(), m_incomingData.data());
|
||||||
|
#endif
|
||||||
const int idOffset = m_incomingData.indexOf("SSH-");
|
const int idOffset = m_incomingData.indexOf("SSH-");
|
||||||
if (idOffset == -1)
|
if (idOffset == -1)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user