Commit 91a350ba4d56c40007ad04bb1cfc2c42454dbb46
1 parent
106e20f9
Exists in
master
and in
1 other branch
Fixing boolean property.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
client/src/session/local/properties.cc
... | ... | @@ -132,7 +132,7 @@ |
132 | 132 | if(!strcasecmp(name,intprop[ix].name)) { |
133 | 133 | |
134 | 134 | errno = 0; |
135 | - int value = intprop[ix].get(hSession); | |
135 | + bool value = (intprop[ix].get(hSession) != 0); | |
136 | 136 | |
137 | 137 | if(errno != 0) { |
138 | 138 | throw std::system_error(errno, std::system_category()); | ... | ... |