Dispatcher fixes: user callback arg, changing handler to NULL

This commit is contained in:
Olof hagsand 2021-10-12 14:45:10 +02:00
parent fccf315235
commit a74fbdecdb
4 changed files with 5 additions and 14 deletions

View file

@ -489,7 +489,7 @@ clixon_pagination_cb_register(clicon_handle h,
void *arg)
{
int retval = -1;
dispatcher_definition x = {xpath, fn};
dispatcher_definition x = {xpath, fn, arg};
dispatcher_entry_t *htable = NULL;
clicon_ptr_get(h, "pagination-entries", (void**)&htable);