diff options
Diffstat (limited to 'libkcddb/lookup.cpp')
-rw-r--r-- | libkcddb/lookup.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkcddb/lookup.cpp b/libkcddb/lookup.cpp index 25c7599e..e353ece9 100644 --- a/libkcddb/lookup.cpp +++ b/libkcddb/lookup.cpp @@ -38,19 +38,19 @@ namespace KCDDB CDDB::Result Lookup::parseQuery( const TQString & line ) { - uint servertqStatus = statusCode( line ); + uint serverStatus = statusCode( line ); - if ( 200 == servertqStatus ) + if ( 200 == serverStatus ) { TQStringList tokenList = TQStringList::split( ' ', line ); matchList_.append( tqMakePair( tokenList[ 1 ], tokenList[ 2 ] ) ); return Success; } - else if ( ( 211 == servertqStatus ) || ( 210 == servertqStatus ) ) + else if ( ( 211 == serverStatus ) || ( 210 == serverStatus ) ) { return MultipleRecordFound; } - else if ( 202 == servertqStatus ) + else if ( 202 == serverStatus ) { return NoRecordFound; } @@ -68,9 +68,9 @@ namespace KCDDB CDDB::Result Lookup::parseRead( const TQString & line ) { - uint servertqStatus = statusCode( line ); + uint serverStatus = statusCode( line ); - if ( 210 != servertqStatus ) + if ( 210 != serverStatus ) return ServerError; return Success; |