Merged revisions 139466 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Fri, 22 Aug 2008 17:25:12 +0000 (17:25 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 22 Aug 2008 17:25:12 +0000 (17:25 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139466 | mmichelson | 2008-08-22 12:24:47 -0500 (Fri, 22 Aug 2008) | 3 lines

Fix the build. Thanks, mvanbaak!

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@139469 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 8a00a5f..b000561 100644 (file)
@@ -8788,13 +8788,13 @@ retryowner:
                                        pbx_builtin_setvar_helper(bridged_chan, "BLINDTRANSFER", iaxs[fr->callno]->owner->name);
                                        if (!strcmp(ies.called_number, ast_parking_ext())) {
                                                struct ast_channel *saved_channel = iaxs[fr->callno]->owner;
-                                               ast_mutex_unlock(iaxsl[fr->callno]);
+                                               ast_mutex_unlock(&iaxsl[fr->callno]);
                                                if (iax_park(bridged_chan, saved_channel)) {
                                                        ast_log(LOG_WARNING, "Failed to park call on '%s'\n", bridged_chan->name);
                                                } else {
                                                        ast_debug(1, "Parked call on '%s'\n", ast_bridged_channel(iaxs[fr->callno]->owner)->name);
                                                }
-                                               ast_mutex_lock(iaxsl[fr->callno]);
+                                               ast_mutex_lock(&iaxsl[fr->callno]);
                                        } else {
                                                if (ast_async_goto(bridged_chan, iaxs[fr->callno]->context, ies.called_number, 1))
                                                        ast_log(LOG_WARNING, "Async goto of '%s' to '%s@%s' failed\n", bridged_chan->name,