[asterisk-commits] russell: trunk r194477 - /trunk/main/features.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 14 16:24:22 CDT 2009
Author: russell
Date: Thu May 14 16:24:17 2009
New Revision: 194477
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=194477
Log:
Fix a typo where an equality check should be an assignment.
(closes issue #15103)
Reported by: lmsteffan
Patches:
transfer_crash.patch uploaded by lmsteffan (license 779)
Modified:
trunk/main/features.c
Modified: trunk/main/features.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/features.c?view=diff&rev=194477&r1=194476&r2=194477
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Thu May 14 16:24:17 2009
@@ -2892,7 +2892,7 @@
if (strcasecmp(orig_channame, chan->name) != 0) {
/* old channel */
- if ((chan_ptr == ast_channel_get_by_name(orig_channame))) {
+ if ((chan_ptr = ast_channel_get_by_name(orig_channame))) {
ast_channel_lock(chan_ptr);
if (!ast_bridged_channel(chan_ptr)) {
struct ast_cdr *cur;
More information about the asterisk-commits
mailing list