From cc17a105bc9cf5683ff3f208214068c571fcde59 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:33:07 -0600 Subject: Rename old tq methods that no longer need a unique name (cherry picked from commit 3c299dfe48c0060272c2966fff599b3b417e2ee4) --- libkcddb/cddb.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libkcddb/cddb.cpp') diff --git a/libkcddb/cddb.cpp b/libkcddb/cddb.cpp index c11e086c..7cdfee6e 100644 --- a/libkcddb/cddb.cpp +++ b/libkcddb/cddb.cpp @@ -100,14 +100,14 @@ namespace KCDDB bool CDDB::parseGreeting( const TQString & line ) { - uint servertqStatus = statusCode( line ); + uint serverStatus = statusCode( line ); - if ( 200 == servertqStatus ) + if ( 200 == serverStatus ) { kdDebug(60010) << "Server response: read-only" << endl; readOnly_ = true; } - else if ( 201 == servertqStatus ) + else if ( 201 == serverStatus ) { kdDebug(60010) << "Server response: read-write" << endl; } @@ -123,9 +123,9 @@ namespace KCDDB bool CDDB::parseHandshake( const TQString & line ) { - uint servertqStatus = statusCode( line ); + uint serverStatus = statusCode( line ); - if ( ( 200 != servertqStatus ) && ( 402 != servertqStatus ) ) + if ( ( 200 != serverStatus ) && ( 402 != serverStatus ) ) { kdDebug(60010) << "Handshake was too tight. Letting go." << endl; return false; @@ -141,9 +141,9 @@ namespace KCDDB { TQStringList tokenList = TQStringList::split( ' ', line ); - uint servertqStatus = tokenList[ 0 ].toUInt(); + uint serverStatus = tokenList[ 0 ].toUInt(); - return servertqStatus; + return serverStatus; } /* CDDB::Transport -- cgit v1.2.1