Skip to content

Commit

Permalink
sub ntf BUGFIX wrong var type
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 2, 2024
1 parent 622a706 commit 9572455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/netconf_subscribed_notifications.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,14 +534,14 @@ np2srv_rpc_establish_sub_cb(sr_session_ctx_t *session, uint32_t UNUSED(sub_id),
const struct lyd_node *input, sr_event_t event, uint32_t UNUSED(request_id), struct lyd_node *output,
void *UNUSED(private_data))
{
int rc = SR_ERR_OK, fd = -1, sync_on_start, is_yp;
int rc = SR_ERR_OK, fd = -1, sync_on_start, is_yp, excluded_change[SRSN_COUNT_YP_CHANGE] = {0};
struct lyd_node *node, *node2;
const struct lyd_node *subtree_filter;
struct nc_session *ncs;
struct np2_user_sess *user_sess = NULL;
struct ly_set *set;
char id_str[11], *xp = NULL, *replay_start_str = NULL;
srsn_yp_change_t excluded_change[SRSN_COUNT_YP_CHANGE] = {0}, chg;
srsn_yp_change_t chg;
struct timespec cur_ts, stop = {0}, start = {0}, replay_start = {0}, anchor_time = {0};
sr_datastore_t datastore;
uint32_t i, sub_id, period, dampening_period;
Expand Down

0 comments on commit 9572455

Please sign in to comment.