From: Russell Bryant Date: Thu, 14 May 2009 21:24:17 +0000 (+0000) Subject: Fix a typo where an equality check should be an assignment. X-Git-Tag: 11.0.0-beta1~4890 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23f54f4c760427b601088fc8e5d2883319b43bf9;p=thirdparty%2Fasterisk.git 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@194477 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/features.c b/main/features.c index cef604cede..1b430af4bb 100644 --- a/main/features.c +++ b/main/features.c @@ -2892,7 +2892,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast 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;