diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-11-21 23:22:43 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-11-21 23:22:43 +0000 |
commit | 2aed9ea1819bcb477a9dcb4b58b0015c1478297b (patch) | |
tree | e954deda9be088053e3516039aa523f978bfccd5 /fxotune.c | |
parent | 047099d822f885478dfb94ce8dbe45d379f0e8b0 (diff) |
minor fixes to accommodate compilers who check return result usage
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5365 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'fxotune.c')
-rw-r--r-- | fxotune.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ static int fxotune_read(int fd, void *buffer, int len) res = read(fd, buffer, len); if ((res > 0) && (audio_dump_fd != -1)) { - write(audio_dump_fd, buffer, len); + res = write(audio_dump_fd, buffer, len); } return res; |