Mailinglist Archive: zypp-commit (606 mails)

< Previous Next >
[zypp-commit] r9383 - /trunk/libzypp/zypp/sat/detail/PoolImpl.cc
  • From: schubi2@xxxxxxxxxxxxxxxx
  • Date: Fri, 04 Apr 2008 14:30:27 -0000
  • Message-id: <20080404143027.8530D341E4@xxxxxxxxxxxxxxxx>
Author: schubi2
Date: Fri Apr 4 16:30:27 2008
New Revision: 9383

URL: http://svn.opensuse.org/viewcvs/zypp?rev=9383&view=rev
Log:
fixed wrong return value while language check

Modified:
trunk/libzypp/zypp/sat/detail/PoolImpl.cc

Modified: trunk/libzypp/zypp/sat/detail/PoolImpl.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/sat/detail/PoolImpl.cc?rev=9383&r1=9382&r2=9383&view=diff
==============================================================================
--- trunk/libzypp/zypp/sat/detail/PoolImpl.cc (original)
+++ trunk/libzypp/zypp/sat/detail/PoolImpl.cc Fri Apr 4 16:30:27 2008
@@ -72,7 +72,7 @@
if ( lhs == NAMESPACE_LANGUAGE )
{
const std::tr1::unordered_set<IdString> & locale2Solver(
reinterpret_cast<PoolImpl*>(data)->_locale2Solver );
- return locale2Solver.find( IdString(rhs) ) == locale2Solver.end() ?
-1 : 0;
+ return locale2Solver.find( IdString(rhs) ) == locale2Solver.end() ?
0 : 1;
}
DBG << Capability( lhs ) << " vs. " << Capability( rhs ) << endl;
return 0;

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages