diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-29 14:50:18 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-29 14:50:18 +0000 |
commit | 06fbbd19895c50b25faf8f6658fa8984525b86da (patch) | |
tree | 703113f22ff33a2561e7252a7def788ed5714c76 /devicestate.c | |
parent | 4e767760c884488e9bce7b17d2f833d10118923a (diff) |
a bunch of conversion to ast_channel_*lock (issue #7058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23355 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'devicestate.c')
-rw-r--r-- | devicestate.c | 2 |
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; } |