diff options
author | Jeff Peeler <jpeeler@digium.com> | 2010-03-10 18:25:18 +0000 |
---|---|---|
committer | Jeff Peeler <jpeeler@digium.com> | 2010-03-10 18:25:18 +0000 |
commit | 94c83acaf4f15ebfd4481d4482993f1e415fc655 (patch) | |
tree | 15ed1a9bb8dbd5750f6e763ef6fd18b41161943a /tests | |
parent | b1ccb1a44eda9c4d5799ce1db4f83219023d6537 (diff) |
Fix jitterbuffer logging not creating logfiles.
Three changes made here:
1) Do not fail if a previous log does not exist (in fact, this is probably
expected).
2) Ensure that the file descriptor to write to gets assigned properly. I am at
a loss as to why assigning safe_fd outside the if fixes this, but it makes
the if statement slightly less complicated anyway.
3) Move up the failure message so that the errno of the failure is not
overwritten by fclose.
(closes issue #16917)
Reported by: Artem
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@251631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions