projects
/
platform
/
upstream
/
libzypp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 15.0.0
[platform/upstream/libzypp.git]
/
zypp
/
parser
/
IniParser.cc
diff --git
a/zypp/parser/IniParser.cc
b/zypp/parser/IniParser.cc
index
9958f66
..
cdead1e
100644
(file)
--- a/
zypp/parser/IniParser.cc
+++ b/
zypp/parser/IniParser.cc
@@
-99,7
+99,7
@@
void IniParser::parse( const InputStream & input_r, const ProgressData::Receiver
if (trimmed[0] == '[')
{
- std::string::size_type pos = trimmed.
r
find(']');
+ std::string::size_type pos = trimmed.find(']');
if ( pos != std::string::npos )
{
std::string section = trimmed.substr(1, pos-1);