mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Fix some code that was improperly changed in revision 104866 from issue #12079.
(closes issue #12129, reported by elguero, patched by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1148,7 +1148,7 @@ static int alloc_sub(struct zt_pvt *p, int x) | ||||
| { | ||||
| 	ZT_BUFFERINFO bi; | ||||
| 	int res; | ||||
| 	if (p->subs[x].zfd < 0) { | ||||
| 	if (p->subs[x].zfd >= 0) { | ||||
| 		ast_log(LOG_WARNING, "%s subchannel of %d already in use\n", subnames[x], p->channel); | ||||
| 		return -1; | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user