aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/PropSet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx
index 6d90aed34..d3dbabaf3 100644
--- a/src/PropSet.cxx
+++ b/src/PropSet.cxx
@@ -122,7 +122,7 @@ SString PropSet::Get(const char *key) {
int PropSet::GetInt(const char *key, int defaultValue) {
SString val = Get(key);
if (val.length())
- return Get(key).value();
+ return val.value();
else
return defaultValue;
}