[asterisk-commits] rmudgett: branch 10 r348405 - in /branches/10: ./ main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 16 15:30:07 CST 2011


Author: rmudgett
Date: Fri Dec 16 15:30:01 2011
New Revision: 348405

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=348405
Log:
Fix cut and past error in ast_call_forward().

(issue ASTERISK-18836)
........

Merged revisions 348401 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/main/channel.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/channel.c?view=diff&rev=348405&r1=348404&r2=348405
==============================================================================
--- branches/10/main/channel.c (original)
+++ branches/10/main/channel.c Fri Dec 16 15:30:01 2011
@@ -5437,7 +5437,7 @@
 		if (oh->account) {
 			ast_channel_lock(new);
 			ast_cdr_setaccount(new, oh->account);
-			ast_channel_lock(new);
+			ast_channel_unlock(new);
 		}
 	} else if (caller) { /* no outgoing helper so use caller if avaliable */
 		ast_channel_update_redirecting(caller, apr, NULL);




More information about the asterisk-commits mailing list