X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=chan_lcr.c;h=2921b83c098baebeca3e20c108754e8f10d90697;hp=72bca9fd87f0f2e348bcb5c142ebef891280bcc5;hb=00c52acce5e7f6b31822e81e638348eb528f4065;hpb=b33d7b898dce4721b875c200513c493801d13b6a diff --git a/chan_lcr.c b/chan_lcr.c index 72bca9f..2921b83 100644 --- 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_unlock(&chan_lock); return 0; }