projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b33d7b8
)
Fixes a locking bug in chan_lcr. Thanx to WIMPy for that report.
author
Andreas Eversberg
<jolly@eversberg.eu>
Fri, 30 Apr 2010 11:29:15 +0000
(13:29 +0200)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Fri, 30 Apr 2010 11:29:15 +0000
(13:29 +0200)
modified: chan_lcr.c
chan_lcr.c
patch
|
blob
|
history
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
72bca9f
..
2921b83
100644
(file)
--- a/
chan_lcr.c
+++ b/
chan_lcr.c
@@
-2417,7
+2417,7
@@
static int lcr_send_text(struct ast_channel *ast, const char *text)
memset(&newparam, 0, sizeof(union parameter));
strncpy(newparam.notifyinfo.display, text, sizeof(newparam.notifyinfo.display)-1);
send_message(MESSAGE_NOTIFY, call->ref, &newparam);
- ast_mutex_lock(&chan_lock);
+ ast_mutex_
un
lock(&chan_lock);
return 0;
}