commit | 4992d80163954fb42fea347b8dc4f81bc9f81289 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Aug 09 12:20:01 2017 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Aug 09 12:20:01 2017 +0200 |
tree | 4b703fa0700d59c4d9ec8e609afcdfe37d2e6a82 | |
parent | 6c2277c3e216e2830ff37c7ae4efd42c6dcd322e [diff] |
server session BUGFIX uninitialized variable
diff --git a/src/session_server.c b/src/session_server.c index bd610d9..6914113 100644 --- a/src/session_server.c +++ b/src/session_server.c
@@ -1392,6 +1392,7 @@ } else if (ps->sessions[i].state == NC_PS_STATE_BUSY) { /* it definitely should not be busy because we have the lock */ ERRINT; + ret = NC_PSPOLL_ERROR; } /* keep the session locked only in this one case */