dect
/
asterisk
Archived
13
0
Fork 0

Phone updates

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@769 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-04-07 19:14:24 +00:00
parent 6b82b9351b
commit ac713f322b
1 changed files with 1 additions and 3 deletions

View File

@ -584,11 +584,9 @@ static int phone_write(struct ast_channel *ast, struct ast_frame *frame)
expected=4;
} else {
res = phone_write_buf(p, pos, expected, maxfr);
if (res > 0)
res = 0;
}
if (res != expected) {
if (errno != EAGAIN) {
if ((errno != EAGAIN) && (errno != EINTR)) {
if (res < 0)
ast_log(LOG_WARNING, "Write returned error (%s)\n", strerror(errno));
/*