From 0bee0c65b2d589ee6a1e88a1b0bdf415b5d80652 Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Mon, 9 Jun 2008 16:48:26 +0000 Subject: [PATCH] Minor formatting change to test a mantis change ... (closes issue #12824) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121284 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/channel.c b/main/channel.c index 191d4f222b..ea6e6183ad 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1556,9 +1556,11 @@ int ast_softhangup_nolock(struct ast_channel *chan, int cause) int ast_softhangup(struct ast_channel *chan, int cause) { int res; + ast_channel_lock(chan); res = ast_softhangup_nolock(chan, cause); ast_channel_unlock(chan); + return res; }