projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb4df2
)
revert this patch ... THIS IS NORMAL OPERATION, see the bugnotes for details (bug...
author
Russell Bryant
<russell@russellbryant.com>
Tue, 10 May 2005 04:26:34 +0000
(
04:26
+0000)
committer
Russell Bryant
<russell@russellbryant.com>
Tue, 10 May 2005 04:26:34 +0000
(
04:26
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5618
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
1f5f233
..
727d07a
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-4406,7
+4406,8
@@
static int my_zt_write(struct zt_pvt *p, unsigned char *buf, int len, int index,
size = (linear ? READ_SIZE * 2 : READ_SIZE);
res = write(fd, buf, size);
if (res != size) {
- ast_log(LOG_WARNING, "Write returned %d (%s) on channel %d - audio may have been lost\n", res, strerror(errno), p->channel);
+ if (option_debug)
+ ast_log(LOG_DEBUG, "Write returned %d (%s) on channel %d\n", res, strerror(errno), p->channel);
return sent;
}
len -= size;