[zypp-commit] r8558 - /branches/tmp/ma/jump_sat/libzypp/zypp/parser/yum/FileReaderBaseImpl.cc
Author: coolo Date: Fri Feb 8 09:57:09 2008 New Revision: 8558 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8558&view=rev Log: r8225 | coolo | 2008-01-08 17:11:59 +0100 (Di, 08 Jan 2008) | 2 lines I wonder what funny bugs such a typo creates Modified: branches/tmp/ma/jump_sat/libzypp/zypp/parser/yum/FileReaderBaseImpl.cc Modified: branches/tmp/ma/jump_sat/libzypp/zypp/parser/yum/FileReaderBaseImpl.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/tmp/ma/jump_sat/libzypp/zypp/parser/yum/FileReaderBaseImpl.cc?rev=8558&r1=8557&r2=8558&view=diff ============================================================================== --- branches/tmp/ma/jump_sat/libzypp/zypp/parser/yum/FileReaderBaseImpl.cc (original) +++ branches/tmp/ma/jump_sat/libzypp/zypp/parser/yum/FileReaderBaseImpl.cc Fri Feb 8 09:57:09 2008 @@ -311,7 +311,7 @@ if (reader_r->nodeType() == XML_READER_TYPE_ELEMENT) { // xpath: //format/*/rpm:entry | //format/suse-freshens/suse:entry (+) - if (reader_r->name() == "rpm:entry" | reader_r->name() == "suse:entry") + if (reader_r->name() == "rpm:entry" || reader_r->name() == "suse:entry") { if (!_expect_rpm_entry) ZYPP_THROW(ParseException("rpm:entry found when not expected")); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
coolo@svn.opensuse.org