]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5200 --resolve this patch did not apply please be up to date with latest HEAD...
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 19 Mar 2013 13:39:19 +0000 (08:39 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 19 Mar 2013 13:39:19 +0000 (08:39 -0500)
src/mod/applications/mod_httapi/mod_httapi.c

index 75d896db45799979ff121247987032712e67e78a..9a329e7cfcbe06c201f7d8a1d542587c17e19e99 100644 (file)
@@ -2604,7 +2604,7 @@ static switch_status_t locate_url_file(http_file_context_t *context, const char
                        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", NULL)) {
                                newext = "mp3";
-                       } else if (switch_strcasecmp_any(ct, "audio/wav", "audio/x-wave", "audio/wav", NULL)) {
+                       } else if (switch_strcasecmp_any(ct, "audio/wav", "audio/x-wave", "audio/wav", "audio/wave", NULL)) {
                                newext = "wav";
                        }
                }