Skip to content

Commit

Permalink
Update PR#1539 as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
fgast committed Dec 19, 2018
1 parent d6222f8 commit 1bcca8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/event_routing/event_routing.c
Expand Up @@ -289,9 +289,9 @@ static int notify_on_event(struct sip_msg *msg, void *ev, void *avp_filter,
void *route, void *timeout)
{
int t = 0;
gparam_p gp;

if (timeout) {
gparam_p gp;
gp = (gparam_p)timeout;
if (fixup_get_ivalue(msg, gp, &t) < 0) {
LM_ERR("can't get timeout!\n");
Expand Down Expand Up @@ -325,9 +325,9 @@ static int wait_for_event(struct sip_msg* msg, async_ctx *ctx,
char *ev, char* avp_filter, char* timeout)
{
int t = 0; /* timeout */
gparam_p gp;

if (timeout) {
gparam_p gp;
gp = (gparam_p)timeout;
if (fixup_get_ivalue(msg, gp, &t) < 0) {
LM_ERR("can't get timeout!\n");
Expand Down

0 comments on commit 1bcca8a

Please sign in to comment.