Author: dmacvicar Date: Fri Aug 10 16:08:31 2007 New Revision: 6592 URL: http://svn.opensuse.org/viewcvs/zypp?rev=6592&view=rev Log: fix KeyRing test not working anymore because there is only one capture Modified: trunk/libzypp/zypp/KeyRing.cc Modified: trunk/libzypp/zypp/KeyRing.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/KeyRing.cc?rev=6592&r1=6591&r2=6592&view=diff ============================================================================== --- trunk/libzypp/zypp/KeyRing.cc (original) +++ trunk/libzypp/zypp/KeyRing.cc Fri Aug 10 16:08:31 2007 @@ -570,7 +570,7 @@ str::smatch what; if(str::regex_search(line, what, rxNoKey)) { - if ( what.size() > 1 ) + if ( what.size() >= 1 ) id = what[1]; //dumpRegexpResults(what); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org