From: Anthony Minessale Date: Mon, 18 Mar 2013 21:08:46 +0000 (-0500) Subject: FS-5197 --resolve X-Git-Tag: v1.3.17-final~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7f6ea72004b487f04e410f5b8ebdf8aa9c87700;p=thirdparty%2Ffreeswitch.git FS-5197 --resolve --- diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index 9026333004..7c56f60517 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -2602,9 +2602,9 @@ static switch_status_t locate_url_file(http_file_context_t *context, const char if ((!context->url_params || !switch_event_get_header(context->url_params, "ext")) && headers && (ct = switch_event_get_header(headers, "content-type"))) { if (switch_strcasecmp_any(ct, "audio/mpeg", "audio/x-mpeg", "audio/mp3", "audio/x-mp3", "audio/mpeg3", - "audio/x-mpeg3", "audio/mpg", "audio/x-mpg", "audio/x-mpegaudio")) { + "audio/x-mpeg3", "audio/mpg", "audio/x-mpg", "audio/x-mpegaudio", NULL)) { newext = "mp3"; - } else if (switch_strcasecmp_any(ct, "audio/wav", "audio/x-wave", "audio/wav")) { + } else if (switch_strcasecmp_any(ct, "audio/wav", "audio/x-wave", "audio/wav", NULL)) { newext = "wav"; } }