[asterisk-commits] mmichelson: branch mmichelson/transfer r386441 - /team/mmichelson/transfer/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Apr 24 14:33:59 CDT 2013
Author: mmichelson
Date: Wed Apr 24 14:33:55 2013
New Revision: 386441
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=386441
Log:
Remove extraneous newline at the end of local channel name.
With this, transferring a confbridge works correctly. Yay!
Modified:
team/mmichelson/transfer/main/bridging.c
Modified: team/mmichelson/transfer/main/bridging.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/transfer/main/bridging.c?view=diff&rev=386441&r1=386440&r2=386441
==============================================================================
--- team/mmichelson/transfer/main/bridging.c (original)
+++ team/mmichelson/transfer/main/bridging.c Wed Apr 24 14:33:55 2013
@@ -4274,7 +4274,7 @@
char chan_name[AST_MAX_EXTENSION + AST_MAX_CONTEXT + 2];
int cause;
- snprintf(chan_name, sizeof(chan_name), "%s@%s\n", exten, context);
+ snprintf(chan_name, sizeof(chan_name), "%s@%s", exten, context);
local = ast_request("Local", ast_channel_nativeformats(transferer),
transferer, chan_name, &cause);
if (!local) {
More information about the asterisk-commits
mailing list