Minor formatting change to test a mantis change ...
authorRussell Bryant <russell@russellbryant.com>
Mon, 9 Jun 2008 16:48:26 +0000 (16:48 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 9 Jun 2008 16:48:26 +0000 (16:48 +0000)
(closes issue #12824)

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

main/channel.c

index 191d4f2..ea6e618 100644 (file)
@@ -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;
 }