提交 ec2dce58 authored 作者: Marc Olivier Chouinard's avatar Marc Olivier Chouinard

Missing a small mutex lock from commit e9bde2eb

上级 023818bc
......@@ -3665,7 +3665,7 @@ void sofia_presence_check_subscriptions(sofia_profile_t *profile, time_t now)
sql = switch_mprintf("delete from sip_subscriptions where (expires = -1 or (expires > 0 and expires <= %ld)) and hostname='%q'",
(long) now, mod_sofia_globals.hostname);
sofia_glue_actually_execute_sql(profile, sql, NULL);
sofia_glue_actually_execute_sql(profile, sql, profile->ireg_mutex);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论