mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Fix phone crash
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -584,6 +584,8 @@ 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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user