FS-10371: [mod_httapi] Typo in httapi causes files to always report video #resolve

This commit is contained in:
Anthony Minessale 2017-06-06 12:37:56 -05:00
parent ff16279628
commit 690f7cbe9f
1 changed files with 1 additions and 1 deletions

View File

@ -2986,7 +2986,7 @@ static switch_status_t file_open(switch_file_handle_t *handle, const char *path,
if (switch_test_flag(&context->fh, SWITCH_FILE_FLAG_VIDEO)) {
switch_set_flag(handle, SWITCH_FILE_FLAG_VIDEO);
} else {
switch_set_flag(handle, SWITCH_FILE_FLAG_VIDEO);
switch_clear_flag(handle, SWITCH_FILE_FLAG_VIDEO);
}
}