diff options
author | Mark Spencer <markster@digium.com> | 2002-06-21 01:40:13 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2002-06-21 01:40:13 +0000 |
commit | 123613853b67efeb0b5bcd5ffe880f1a519ff43a (patch) | |
tree | eb3b9515fd164afd1e2242b99a26c047f8719bfe /formats/format_jpeg.c | |
parent | 9086941a867f6a7ec0d5dbe32cce2a0f154831f2 (diff) |
Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_jpeg.c')
-rwxr-xr-x | formats/format_jpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_jpeg.c b/formats/format_jpeg.c index 7e10af884..4e9f0f4c3 100755 --- a/formats/format_jpeg.c +++ b/formats/format_jpeg.c @@ -80,7 +80,7 @@ static int jpeg_write_image(int fd, struct ast_frame *fr) if (fr->datalen) { res = write(fd, fr->data, fr->datalen); if (res != fr->datalen) { - ast_log(LOG_WARNING, "Only wrote %d of %d bytes: %s\n", res, fr->datalen); + ast_log(LOG_WARNING, "Only wrote %d of %d bytes: %s\n", res, fr->datalen, strerror(errno)); return -1; } } |