diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-10 04:26:34 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-10 04:26:34 +0000 |
commit | 005a08a463e87e6870b0a1614a39fe158f66885f (patch) | |
tree | cb9b5833152099f7e0497917d30086b93cd1237e /channels | |
parent | bb56af4c198c06e89a5e90d850b375d780b81135 (diff) |
revert this patch ... THIS IS NORMAL OPERATION, see the bugnotes for details (bug #4107)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5618 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_zap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 1f5f23308..727d07aec 100755 --- 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; |