Skip to content

Commit

Permalink
session server UPDATE always set out params
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Jun 6, 2024
1 parent 6a445db commit dad3537
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/session_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1810,6 +1810,10 @@ nc_ps_poll(struct nc_pollsession *ps, int timeout, struct nc_session **session)

NC_CHECK_ARG_RET(NULL, ps, NC_PSPOLL_ERROR);

if (session) {
*session = NULL;
}

/* PS LOCK */
if (nc_ps_lock(ps, &q_id, __func__)) {
return NC_PSPOLL_ERROR;
Expand Down

0 comments on commit dad3537

Please sign in to comment.