diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-10 18:25:18 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-10 18:25:18 +0000 |
commit | d17a1065fa70261d86c9c4613e3586a1c166257e (patch) | |
tree | 15ed1a9bb8dbd5750f6e763ef6fd18b41161943a /tests | |
parent | 090c22992b8ebd9b0de86374da8347130afc70b6 (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: http://svn.digium.com/svn/asterisk/trunk@251631 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions