[asterisk-commits] rmudgett: branch 1.8 r348401 - /branches/1.8/main/channel.c

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


Author: rmudgett
Date: Fri Dec 16 15:29:05 2011
New Revision: 348401

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

(issue ASTERISK-18836)

Modified:
    branches/1.8/main/channel.c

Modified: branches/1.8/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/channel.c?view=diff&rev=348401&r1=348400&r2=348401
==============================================================================
--- branches/1.8/main/channel.c (original)
+++ branches/1.8/main/channel.c Fri Dec 16 15:29:05 2011
@@ -5244,7 +5244,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