Skip to content

Commit

Permalink
cfgutils: fix kemi wrappers for locking functions
Browse files Browse the repository at this point in the history
- sip_msg_t* argument was missing, reported by GH #1459
  • Loading branch information
miconda committed Feb 28, 2018
1 parent 086a529 commit c9cd7b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/cfgutils/cfgutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,17 +735,17 @@ static int cfg_lock_helper(str *lkey, int mode)
return 1;
}

static int cfg_lock(str *lkey)
static int cfg_lock(sip_msg_t *msg, str *lkey)
{
return cfg_lock_helper(lkey, 0);
}

static int cfg_unlock(str *lkey)
static int cfg_unlock(sip_msg_t *msg, str *lkey)
{
return cfg_lock_helper(lkey, 1);
}

static int cfg_trylock(str *lkey)
static int cfg_trylock(sip_msg_t *msg, str *lkey)
{
return cfg_lock_helper(lkey, 2);
}
Expand Down

0 comments on commit c9cd7b9

Please sign in to comment.