summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/PropertiesI.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-01-14 21:31:03 +0000
committerMarc Laukien <marc@zeroc.com>2002-01-14 21:31:03 +0000
commit10a05710b876c4c04072224a62d25a974245d17e (patch)
treedcd281feb54d0e72223697e4120ebb69b9a14511 /cpp/src/Ice/PropertiesI.cpp
parentglacier intergration (diff)
downloadice-10a05710b876c4c04072224a62d25a974245d17e.tar.bz2
ice-10a05710b876c4c04072224a62d25a974245d17e.tar.xz
ice-10a05710b876c4c04072224a62d25a974245d17e.zip
glacier integration
Diffstat (limited to 'cpp/src/Ice/PropertiesI.cpp')
-rw-r--r--cpp/src/Ice/PropertiesI.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/cpp/src/Ice/PropertiesI.cpp b/cpp/src/Ice/PropertiesI.cpp
index e119d8bc0ba..156278b92ab 100644
--- a/cpp/src/Ice/PropertiesI.cpp
+++ b/cpp/src/Ice/PropertiesI.cpp
@@ -220,15 +220,13 @@ Ice::PropertiesI::parseLine(const string& line)
return;
}
+ string value;
beg = s.find_first_not_of(delim + "=", end);
- if (beg == string::npos)
+ if (beg != string::npos)
{
- return;
+ end = s.length();
+ value = s.substr(beg, end - beg);
}
- end = s.length();
-
- string value = s.substr(beg, end - beg);
-
setProperty(key, value);
}