Browse Source

MT#61630 safeguard variable declaration from label

Change-Id: I7889c96dea39cb8a4a7c7a99aaba64b60c2a0c43
pull/1897/head
Richard Fuchs 12 months ago
parent
commit
d4146e80f0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      daemon/call_interfaces.c

+ 2
- 2
daemon/call_interfaces.c View File

@ -888,13 +888,13 @@ static void call_ng_flags_moh(const ng_parser_t *parser, str *key, parser_arg va
case CSH_LOOKUP("file"):
parser->get_str(value, &out->moh_file);
break;
case CSH_LOOKUP("connection"):
case CSH_LOOKUP("connection"):;
str connection = STR_NULL;
parser->get_str(value, &connection);
if (!str_cmp(&connection, "zero"))
out->moh_zero_connection = 1;
break;
case CSH_LOOKUP("mode"):
case CSH_LOOKUP("mode"):;
str mode = STR_NULL;
parser->get_str(value, &mode);
if (!str_cmp(&mode, "sendrecv"))


Loading…
Cancel
Save