Skip to content

Commit

Permalink
nathelper: initialize local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo committed Oct 1, 2018
1 parent 3892c78 commit c814f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/nathelper/nathelper.c
Expand Up @@ -1644,7 +1644,7 @@ static int ki_fix_nated_sdp(sip_msg_t *msg, int level)
static int fix_nated_sdp_f(struct sip_msg *msg, char *str1, char *str2)
{
int level;
str ip;
str ip = {0,0};

if(fixup_get_ivalue(msg, (gparam_t *)str1, &level) != 0) {
LM_ERR("failed to get value for first parameter\n");
Expand Down

0 comments on commit c814f9f

Please sign in to comment.