Commit 2bdf2b3e51f512668f2d6fa7151d479dfdafadd1
1 parent
3138caa8
Exists in
master
and in
1 other branch
Fixing set_unlock_delay.
Showing
2 changed files
with
2 additions
and
9 deletions
Show diff stats
client/src/session/remote/properties.cc
| ... | ... | @@ -134,16 +134,9 @@ |
| 134 | 134 | |
| 135 | 135 | void IPC::Session::setUnlockDelay(unsigned short delay) { |
| 136 | 136 | |
| 137 | - int32_t rc = -1; | |
| 138 | - | |
| 139 | 137 | Request(*this,true,"unlock_delay") |
| 140 | 138 | .push((uint32_t) delay) |
| 141 | - .call() | |
| 142 | - .pop(rc); | |
| 143 | - | |
| 144 | - if(rc) { | |
| 145 | - throw std::system_error((int) rc, std::system_category()); | |
| 146 | - } | |
| 139 | + .call(); | |
| 147 | 140 | |
| 148 | 141 | } |
| 149 | 142 | ... | ... |
server/testscripts/getproperty.sh