Dispatcher fixes: user callback arg, changing handler to NULL
This commit is contained in:
parent
fccf315235
commit
a74fbdecdb
4 changed files with 5 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue