Skip to content

Commit

Permalink
path: updating the exported expected parameters to match the functions
Browse files Browse the repository at this point in the history
- Mismatch between export and function declaration with regards to the quantity of parameters

(cherry picked from commit 2fda4db)
  • Loading branch information
verticelo authored and miconda committed Nov 27, 2017
1 parent 02f6ef0 commit 5510693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/path/path_mod.c
Expand Up @@ -164,7 +164,7 @@ static int mod_init(void)
static sr_kemi_t sr_kemi_path_exports[] = {
{ str_init("path"), str_init("add_path"),
SR_KEMIP_INT, ki_add_path,
{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
{ str_init("path"), str_init("add_path_user"),
Expand All @@ -179,7 +179,7 @@ static sr_kemi_t sr_kemi_path_exports[] = {
},
{ str_init("path"), str_init("add_path_received"),
SR_KEMIP_INT, ki_add_path_received,
{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
{ str_init("path"), str_init("add_path_received_user"),
Expand Down

0 comments on commit 5510693

Please sign in to comment.