[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/keystone
From: Dirk Mueller <mueller () kde ! org>
Date: 2002-12-09 1:50:27
[Download RAW message or body]
CVS commit by mueller:
naming a variable errno is NOT a good idea!
M +3 -3 krfbconnection.cpp 1.6
--- kdenonbeta/keystone/krfbconnection.cpp #1.5:1.6
@@ -123,10 +123,10 @@ void KRFBConnection::gotRFBConnection()
}
-void KRFBConnection::gotSocketError( int errno )
+void KRFBConnection::gotSocketError( int errorno )
{
currentState_ = Error;
// Do some error handling stuff
- qWarning( "KRFBConnection: Socket error %d", errno );
+ qWarning( "KRFBConnection: Socket error %d", errorno );
static QString refused = i18n( "Connection Refused" );
@@ -138,5 +138,5 @@ void KRFBConnection::gotSocketError( int
QString msg;
- switch ( errno ) {
+ switch ( errorno ) {
case QSocket::ErrConnectionRefused:
msg = refused;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic