提交 7f2d4b97 authored 作者: Anthony Minessale's avatar Anthony Minessale

close MODAPP-169

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10459 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 8609549b
......@@ -110,7 +110,7 @@ SWITCH_STANDARD_APP(record_fsv_function)
switch_channel_answer(channel);
if ((fd = open((char *) data, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR)) < 0) {
if ((fd = open((char *) data, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, S_IRUSR | S_IWUSR)) < 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Error opening file %s\n", (char *) data);
return;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论