From: Russell Bryant Date: Mon, 9 Jun 2008 16:48:26 +0000 (+0000) Subject: Minor formatting change to test a mantis change ... X-Git-Tag: 1.6.2.0-beta1~2053 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bee0c65b2d589ee6a1e88a1b0bdf415b5d80652;p=thirdparty%2Fasterisk.git 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 --- 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; }