fixes ast_transfer stall until hangup if called with a channel that doesn't support transfers


			
			
				certified/1.8.6
			
			
		
David Vossel 16 years ago
parent c8bb5daf1e
commit a575a50cd5

@ -4597,7 +4597,7 @@ int ast_transfer(struct ast_channel *chan, char *dest)
}
ast_channel_unlock(chan);
if (res < 0) {
if (res <= 0) {
return res;
}

Loading…
Cancel
Save