xml: fix list of default media types for XML.

One entry in the list of strings didn't have the comma at the end, so
the entry after it was concatenated with it, forming a bogus entry and
causing neither "application/vnd.3gpp.mcptt-info+xml" nor
"application/vnd.3gpp.mid-call+xml" to be recognized by media type as
XML.

Should resolve Coverity CID 1355680.
This commit is contained in:
Guy Harris 2020-11-13 19:18:23 -08:00
parent 08d7e14cdd
commit c2bd3bc487
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ static const gchar *default_media_types[] = {
"application/vnd.3gpp.cw+xml",
"application/vnd.3gpp.iut+xml", /*3GPP TS 24.337*/
"application/vnc.3gpp.iut-config+xml", /*3GPP TS 24.337*/
"application/vnd.3gpp.mcptt-info+xml"
"application/vnd.3gpp.mcptt-info+xml",
"application/vnd.3gpp.mid-call+xml",
"application/vnd.3gpp-prose-pc3ch+xml",
"application/vnd.3gpp-prose+xml",