summaryrefslogtreecommitdiff
path: root/devicestate.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-04-29 14:50:18 +0000
committerRussell Bryant <russell@russellbryant.com>2006-04-29 14:50:18 +0000
commit8085f4e14b6a3d164079f192cc8016048f419442 (patch)
tree703113f22ff33a2561e7252a7def788ed5714c76 /devicestate.c
parent54d6194340c6964e5089dcc92425f695fd8c942d (diff)
a bunch of conversion to ast_channel_*lock (issue #7058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'devicestate.c')
-rw-r--r--devicestate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devicestate.c b/devicestate.c
index 4bccfa5c3..c477f98d8 100644
--- a/devicestate.c
+++ b/devicestate.c
@@ -101,7 +101,7 @@ int ast_parse_device_state(const char *device)
else
res = AST_DEVICE_INUSE;
- ast_mutex_unlock(&chan->lock);
+ ast_channel_unlock(chan);
return res;
}