commit | 5ecbf8c6e1fcaedaecdd2373226caaa963e2105a | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 29 16:05:22 2016 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 29 16:05:22 2016 +0200 |
tree | 8330121fd314d6f190fb89048c5a90b20ed9525d | |
parent | 1ab4039a25f815ae1b1fd841dd1177b37fb61354 [diff] |
session CHANGE refuse sessions without locks
diff --git a/src/session.c b/src/session.c index 9a8153e..9ed564a 100644 --- a/src/session.c +++ b/src/session.c
@@ -281,6 +281,9 @@ } else { locked = 1; } + } else { + ERRINT; + return; } if ((session->side == NC_CLIENT) && (session->status == NC_STATUS_RUNNING) && locked) {