summaryrefslogtreecommitdiff
path: root/noncore/comm
Unidiff
Diffstat (limited to 'noncore/comm') (more/less context) (show whitespace changes)
-rw-r--r--noncore/comm/keypebble/krfbconnection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/comm/keypebble/krfbconnection.cpp b/noncore/comm/keypebble/krfbconnection.cpp
index c413186..c51f18a 100644
--- a/noncore/comm/keypebble/krfbconnection.cpp
+++ b/noncore/comm/keypebble/krfbconnection.cpp
@@ -121,10 +121,10 @@ void KRFBConnection::gotRFBConnection()
121} 121}
122 122
123void KRFBConnection::gotSocketError( int errno ) 123void KRFBConnection::gotSocketError( int err )
124{ 124{
125 currentState_ = Error; 125 currentState_ = Error;
126 126
127 // Do some error handling stuff 127 // Do some error handling stuff
128 qWarning( "KRFBConnection: Socket error %d", errno ); 128 qWarning( "KRFBConnection: Socket error %d", err );
129 129
130 static QString refused = tr( "Connection Refused" ); 130 static QString refused = tr( "Connection Refused" );
@@ -136,5 +136,5 @@ void KRFBConnection::gotSocketError( int errno )
136 136
137 QString msg; 137 QString msg;
138 switch ( errno ) { 138 switch ( err ) {
139 case QSocket::ErrConnectionRefused: 139 case QSocket::ErrConnectionRefused:
140 msg = refused; 140 msg = refused;