summaryrefslogtreecommitdiff
authordwmw2 <dwmw2>2002-05-09 17:30:42 (UTC)
committer dwmw2 <dwmw2>2002-05-09 17:30:42 (UTC)
commit37b512ee81aacdc53c4cf5de18a2eb7c0819086d (patch) (side-by-side diff)
tree4125c12092cf9036c07e1d06710ef08a7bafdc5d
parentb9d7463dde0158b06ccbdc014ef20aa8569454a5 (diff)
downloadopie-37b512ee81aacdc53c4cf5de18a2eb7c0819086d.zip
opie-37b512ee81aacdc53c4cf5de18a2eb7c0819086d.tar.gz
opie-37b512ee81aacdc53c4cf5de18a2eb7c0819086d.tar.bz2
don't use errno for variable names
Diffstat (more/less context) (ignore 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()
}
-void KRFBConnection::gotSocketError( int errno )
+void KRFBConnection::gotSocketError( int err )
{
currentState_ = Error;
// Do some error handling stuff
- qWarning( "KRFBConnection: Socket error %d", errno );
+ qWarning( "KRFBConnection: Socket error %d", err );
static QString refused = tr( "Connection Refused" );
@@ -136,5 +136,5 @@ void KRFBConnection::gotSocketError( int errno )
QString msg;
- switch ( errno ) {
+ switch ( err ) {
case QSocket::ErrConnectionRefused:
msg = refused;