diff --git a/src/mod/event_handlers/mod_rayo/nlsml.c b/src/mod/event_handlers/mod_rayo/nlsml.c index e446d1bfd0..b5e9cefa4f 100644 --- a/src/mod/event_handlers/mod_rayo/nlsml.c +++ b/src/mod/event_handlers/mod_rayo/nlsml.c @@ -412,7 +412,6 @@ iks *nlsml_create_dtmf_match(const char *digits) iks *interpretation = iks_insert(result, "interpretation"); iks *input = iks_insert(interpretation, "input"); - input = iks_insert(input, "input"); iks_insert_attrib(input, "mode", "dtmf"); iks_insert_attrib(input, "confidence", "100"); diff --git a/src/mod/event_handlers/mod_rayo/test_nlsml/main.c b/src/mod/event_handlers/mod_rayo/test_nlsml/main.c index cc5331f55f..f5d6067d3b 100644 --- a/src/mod/event_handlers/mod_rayo/test_nlsml/main.c +++ b/src/mod/event_handlers/mod_rayo/test_nlsml/main.c @@ -244,8 +244,8 @@ static void test_parse_nlsml_examples(void) static const char *nlsml_dtmf_result = "" - "1 2 3 4" - ""; + "1 2 3 4" + ""; /** * Test parsing NLSML example results