summaryrefslogtreecommitdiff
path: root/fxotune.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-11-21 23:22:43 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-11-21 23:22:43 +0000
commit2aed9ea1819bcb477a9dcb4b58b0015c1478297b (patch)
treee954deda9be088053e3516039aa523f978bfccd5 /fxotune.c
parent047099d822f885478dfb94ce8dbe45d379f0e8b0 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxotune.c b/fxotune.c
index b419767..77b01ea 100644
--- a/fxotune.c
+++ b/fxotune.c
@@ -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;